Closed jerkjerkjerk closed 1 year ago
Please see the log file below:
Line 128: {"reqId":"QpVdsIJw9SNTwAVXW0Yz","level":0,"time":"2023-06-15T16:25:10+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"carnet","method":"GET","url":"/apps/cookbook/webapp/recipes/21510","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"carnet"}}
Line 133: {"reqId":"QpVdsIJw9SNTwAVXW0Yz","level":0,"time":"2023-06-15T16:25:10+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"files_mindmap","method":"GET","url":"/apps/cookbook/webapp/recipes/21510","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"files_mindmap"}}
Line 138: {"reqId":"QpVdsIJw9SNTwAVXW0Yz","level":0,"time":"2023-06-15T16:25:10+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"PHP","method":"GET","url":"/apps/cookbook/webapp/recipes/21510","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /config/www/nextcloud/apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"PHP"}}
Line 187: {"reqId":"45CAk1XHQckgG5qw6x1X","level":0,"time":"2023-06-15T16:25:11+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"carnet","method":"GET","url":"/apps/cookbook/webapp/recipes/21510/image?size=full","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"carnet"}}
Line 193: {"reqId":"45CAk1XHQckgG5qw6x1X","level":0,"time":"2023-06-15T16:25:12+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"files_mindmap","method":"GET","url":"/apps/cookbook/webapp/recipes/21510/image?size=full","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"files_mindmap"}}
Line 195: {"reqId":"45CAk1XHQckgG5qw6x1X","level":0,"time":"2023-06-15T16:25:12+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"PHP","method":"GET","url":"/apps/cookbook/webapp/recipes/21510/image?size=full","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /config/www/nextcloud/apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"PHP"}}
Line 295: {"reqId":"JThRDb8XM7mvgySutOWP","level":0,"time":"2023-06-15T16:25:16+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"carnet","method":"DELETE","url":"/apps/cookbook/webapp/recipes/21510","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"carnet"}}
Line 296: {"reqId":"JThRDb8XM7mvgySutOWP","level":0,"time":"2023-06-15T16:25:16+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"files_mindmap","method":"DELETE","url":"/apps/cookbook/webapp/recipes/21510","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"files_mindmap"}}
Line 297: {"reqId":"JThRDb8XM7mvgySutOWP","level":0,"time":"2023-06-15T16:25:16+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"PHP","method":"DELETE","url":"/apps/cookbook/webapp/recipes/21510","message":"Creation of dynamic property OCA\\Maps\\Hooks\\FileHooks::$lockingProvider is deprecated at /config/www/nextcloud/apps/maps/lib/Hooks/FileHooks.php#46","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"PHP"}}
Line 298: {"reqId":"JThRDb8XM7mvgySutOWP","level":0,"time":"2023-06-15T16:25:17+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"onlyoffice","method":"DELETE","url":"/apps/cookbook/webapp/recipes/21510","message":"deleteAllVersions **USERID** 21510","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"onlyoffice"}}
Line 298: {"reqId":"JThRDb8XM7mvgySutOWP","level":0,"time":"2023-06-15T16:25:17+00:00","remoteAddr":"**IP ADDRESS**","user":"**USERID**","app":"onlyoffice","method":"DELETE","url":"/apps/cookbook/webapp/recipes/21510","message":"deleteAllVersions **USERID** 21510","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.2.1","data":{"app":"onlyoffice"}}
Hello. The logs on the server as provided by you do not indicate any problem with the cookbook app. Some other apps use deprecated features (Carnet, Maps, Mindmap) but this should not break the cookbook.
Can you please have a look at the developer console in the browser (press F12 to open it) and see if there are some issues reported?
Thanks for getting back to me.
I agree, those logs aren't helpful, but they're the only lines that have any reference to cookbook, nm.
This seems to be one of those things that once someone else looks at it, it decides to start behaving again - I've just tried replicating the issue again to check for dev console errors, but I can now edit and delete recipes that were misbehaving previously, so I'll take that win!
Thanks again for the great app, I use it every day and share my cookbook with multiple family members. I really appreciate it, so thankyou very kindly. All the best!
Thank you for your support and for your effort to debug things.
Description When trying to edit existing recipes, saving fails, error message: "Unknown answer returned from server. See logs." on dismissing saving the recipe fails and the recipe reverts. Please see log file to come (I need to edit out personal info, apologies). I have tried recreating recipes affected and the new copy does not have the problem, however, I also can't delete recipes affected by this bug, error: "Deletion failed."
Reproduction Steps to reproduce the behavior:
Expected behavior On hitting save, the change should be saved, or on hitting delete, the recipe should be repeated.
Actual behavior The error pops up, the recipe change is not saved and reverts to it's previous state.
Screenshots I wasn't able to find any error specific to Cookbook in the logs looking via the website, however, when I tried an app to see if there was an different behaviour I did manage to grab a screenshot of errors, please see attached.
Browser Google Chrome 114.0.5735.110 (Official Build) (64-bit) (cohort: Stable)
Versions Nextcloud server version: 26.0.2 Cookbook version: 0.10.2 Database system: MariaDB