Error Messages after fresh install of nextcloud 25.0.1

Hey Guys,

I’ve been running nextcloud for a while now and decided to run a fresh setup (issues, playing, curiosity etc…).
I create a fresh setup log in as admin user and get these two errors in the log.

First error is showing up only once, message:

RuntimeException: Could not get appdata folder for preview

detailed:

{"reqId":"q4nsnsW5BHBsvMHXVprm","level":3,"time":"2022-11-07T10:22:42+00:00","remoteAddr":"192.168.1.30","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Table \"oc_photos_collaborators\" has no primary key and therefor will not behave sane in clustered setups. This will throw an exception and not be installable in a future version of Nextcloud.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","version":"25.0.1.1","data":[],"id":"6368dfa4ae2b6"}

second one shows up regularily (had 4 of these within the first 10 minutes of runtime, where I didn’t do much):

Error: Implicit conversion from float-string "1667816556.8646" to int loses precision at /var/www/html/lib/private/DateTimeFormatter.php#85

detailed:

{"reqId":"6hg3yMLBBx2TxQHsn2BA","level":3,"time":"2022-11-07T10:24:44+00:00","remoteAddr":"192.168.1.30","user":"admin","app":"PHP","method":"GET","url":"/settings/admin/overview","message":"Implicit conversion from float-string \"1667816556.8646\" to int loses precision at /var/www/html/lib/private/DateTimeFormatter.php#85","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","version":"25.0.1.1","exception":{"Exception":"Error","Message":"Implicit conversion from float-string \"1667816556.8646\" to int loses precision at /var/www/html/lib/private/DateTimeFormatter.php#85","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8192,"Implicit conversion from float-string \"1667816556.8646\" to int loses precision","/var/www/html/lib/private/DateTimeFormatter.php",85]},{"file":"/var/www/html/lib/private/DateTimeFormatter.php","line":85,"function":"setTimestamp","class":"DateTime","type":"->","args":["1667816556.8646"]},{"file":"/var/www/html/lib/private/DateTimeFormatter.php","line":312,"function":"getDateTime","class":"OC\\DateTimeFormatter","type":"->","args":["1667816556.8646",{"__class__":"DateTimeZone"}]},{"file":"/var/www/html/lib/private/DateTimeFormatter.php","line":277,"function":"format","class":"OC\\DateTimeFormatter","type":"->","args":["1667816556.8646","datetime","long|medium",{"__class__":"DateTimeZone"},{"__class__":"OC\\L10N\\LazyL10N"}]},{"file":"/var/www/html/apps/updatenotification/lib/Settings/Admin.php","line":82,"function":"formatDateTime","class":"OC\\DateTimeFormatter","type":"->","args":["1667816556.8646"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":129,"function":"getForm","class":"OCA\\UpdateNotification\\Settings\\Admin","type":"->","args":[]},{"file":"/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php","line":83,"function":"formatSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":[[[{"__class__":"OCA\\Settings\\Settings\\Admin\\Overview"}],[{"__class__":"OCA\\UpdateNotification\\Settings\\Admin"}]]]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":149,"function":"getSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["overview","settings.AdminSettings.index"]]},{"file":"/var/www/html/lib/base.php","line":1047,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/overview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"6368e0c141304"}

Anything I can do? Until now I never saw any error when I did a fresh install, it seems it has something to do with 25.0.x (tried two different containers, but always saw the same issue).

thank you for your input
Autchi

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.