Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes getting lost #262

Open
marxjohnson opened this issue Jul 2, 2017 · 1 comment
Open

Notes getting lost #262

marxjohnson opened this issue Jul 2, 2017 · 1 comment

Comments

@marxjohnson
Copy link

marxjohnson commented Jul 2, 2017

I'm having an issue with notes getting lost.
I had a note that I had updated through the web interface. I then opened it on my phone in the Notes app, but it couldn't sync the updates. When I looked at it again through the web interface, it had lost the updates!
I just tried to reproduce the problem by creating a new note. I was able to update it and sync the updates to the Android app, although there were errors shown in the log. However, I then tried to open it again in the Android app, and it had been deleted, no trace of it through the web interface either.

Here is the tail of the error log from when I created the new note. It was called "Test note", I'm not sure if the lines before that are related, but I thought I'd include them in case they shed some light.

{"reqId":"zGiPz98bQnATyZfFFF3i","remoteAddr":"192.168.0.1","app":"PHP","message":"chmod(): Operation not permitted at \/home\/mark\/public_html\/owncloud\/lib\/private\/Config.php#242","level":3,"time":"2017-07-02T09:13:28+00:00","method":"POST","url":"\/owncloud\/index.php\/settings\/admin\/log\/level","user":"mark"}
{"reqId":"MICOK76DnbYQng2ZlpNM","remoteAddr":"192.168.0.1","app":"PHP","message":"Missing argument 2 for OC\\Files\\Storage\\Wrapper\\Wrapper::file_put_contents(), called in \/home\/mark\/public_html\/owncloud\/lib\/private\/Files\/View.php on line 1123 and defined at \/home\/mark\/public_html\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php#249","level":3,"time":"2017-07-02T09:21:02+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes","user":"mark"}
{"reqId":"MICOK76DnbYQng2ZlpNM","remoteAddr":"192.168.0.1","app":"PHP","message":"Undefined variable: data at \/home\/mark\/public_html\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php#250","level":3,"time":"2017-07-02T09:21:02+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes","user":"mark"}
{"reqId":"MICOK76DnbYQng2ZlpNM","remoteAddr":"192.168.0.1","app":"notes","message":"OCA\\Notes\\Db\\Note Object\n(\n    [modified] => 1498987262\n    [title] => New note (2)\n    [content] => \n    [id] => 112135\n    [_updatedFields:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n        )\n\n    [_fieldTypes:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n            [id] => integer\n            [modified] => integer\n        )\n\n)\n","level":3,"time":"2017-07-02T09:21:03+00:00","method":"POST","url":"\/owncloud\/index.php\/apps\/notes\/notes","user":"mark"}
{"reqId":"WFq3gkuHWT6URG7YIgFh","remoteAddr":"192.168.0.1","app":"notes","message":"OCA\\Notes\\Db\\Note Object\n(\n    [modified] => 1498987266\n    [title] => Test note\n    [content] => Test note\n\n    [id] => 112135\n    [_updatedFields:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n        )\n\n    [_fieldTypes:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n            [id] => integer\n            [modified] => integer\n        )\n\n)\n","level":3,"time":"2017-07-02T09:21:06+00:00","method":"PUT","url":"\/owncloud\/index.php\/apps\/notes\/notes\/112135","user":"mark"}
{"reqId":"NPHtMI1BszragYzJeJPa","remoteAddr":"192.168.0.1","app":"notes","message":"OCA\\Notes\\Db\\Note Object\n(\n    [modified] => 1498987286\n    [title] => Test note\n    [content] => Test note\n\nN\n\n    [id] => 112135\n    [_updatedFields:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n        )\n\n    [_fieldTypes:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n            [id] => integer\n            [modified] => integer\n        )\n\n)\n","level":3,"time":"2017-07-02T09:21:27+00:00","method":"PUT","url":"\/owncloud\/index.php\/apps\/notes\/notes\/112135","user":"mark"}
{"reqId":"3\/SS2KPu9zR7GaH2TIj8","remoteAddr":"192.168.0.1","app":"notes","message":"OCA\\Notes\\Db\\Note Object\n(\n    [modified] => 1498987287\n    [title] => Test note\n    [content] => Test note\n\nNew note\n\n    [id] => 112135\n    [_updatedFields:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n        )\n\n    [_fieldTypes:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n            [id] => integer\n            [modified] => integer\n        )\n\n)\n","level":3,"time":"2017-07-02T09:21:28+00:00","method":"PUT","url":"\/owncloud\/index.php\/apps\/notes\/notes\/112135","user":"mark"}
{"reqId":"tmBVeYNIQxiJouhsH1V3","remoteAddr":"192.168.0.1","app":"notes","message":"OCA\\Notes\\Db\\Note Object\n(\n    [modified] => 1498987305\n    [title] => Test note\n    [content] => Test note\n\nNew notev\n\n    [id] => 112135\n    [_updatedFields:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n        )\n\n    [_fieldTypes:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n            [id] => integer\n            [modified] => integer\n        )\n\n)\n","level":3,"time":"2017-07-02T09:21:45+00:00","method":"PUT","url":"\/owncloud\/index.php\/apps\/notes\/notes\/112135","user":"mark"}
{"reqId":"w7lJo8y9eCHKX1xZCGdj","remoteAddr":"192.168.0.1","app":"notes","message":"OCA\\Notes\\Db\\Note Object\n(\n    [modified] => 1498987306\n    [title] => Test note\n    [content] => Test note\n\nNew note sdafasdf\n\n    [id] => 112135\n    [_updatedFields:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n        )\n\n    [_fieldTypes:OCP\\AppFramework\\Db\\Entity:private] => Array\n        (\n            [id] => integer\n            [modified] => integer\n        )\n\n)\n","level":3,"time":"2017-07-02T09:21:47+00:00","method":"PUT","url":"\/owncloud\/index.php\/apps\/notes\/notes\/112135","user":"mark"}

I now can't use the notes app for fear of data loss, so hopefully this problem can be fixed.

@marxjohnson
Copy link
Author

I just remembered that I had versioning turned on, so I was able to restore a previous version of the file that originally experienced data loss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant