Traditionally, I only store data in NextCloud on mounted external storage that has been previously created in Samba.
The reason for this is to ensure that the owner of the data always remains the domain admin and that the data is not deleted if a user profile (and thus the user folder) is deleted.
This already worked in NS7 and also worked on my NS8 servers without any problems so far.
Now I wanted to mount a new Samba share, and it no longer works.
After creating and configuring the share as amdin, the logged-in admin is asked to enter the password again, and this fails.
I don’t remember this additional passport query from previous versions.
but if it has become necessary, it should work.
Ps: I tested it on different servers with the same behavior.
Ps2…
NC-Log
2025-04-10T15:34:10+02:00 [1:nextcloud1:nextcloud-app] NOTICE: PHP message: [nextcloud][no app in context][0] {“reqId”:“7YqmMv5mNe40Q9bbrT4u”,“level”:0,“time”:“2025-04-10T13:34:10+00:00”,“remoteAddr”:“93.244..”,“user”:“924F660D-AEA9-4A21-99C3-1B2804A32B03”,“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v2.php/apps/notifications/api/v2/notifications”,“message”:“{"Exception":"Exception","Message":"dirty table reads: SELECT name
FROM *PREFIX*authtoken
WHERE (uid
= :dcValue1) AND (last_activity
>= :dcValue2)","Code":0,"Trace":[{"file":"/var/www/html/lib/private/DB/ConnectionAdapter.php","line":50,"function":"executeQuery","class":"OC\\DB\\Connection","type":" → ","args":["SELECT name
FROM *PREFIX*authtoken
WHERE (uid
= :dcValue1) AND (last_activity
>= :dcValue2)",{"dcValue1":"924F660D-AEA9-4A21-99C3-1B2804A32B03","dcValue2":1744291930},{"dcValue1":2,"dcValue2":1}]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":289,"function":"executeQuery","class":"OC\\DB\\ConnectionAdapter","type":" → ","args":["SELECT name
FROM *PREFIX*authtoken
WHERE (uid
= :dcValue1) AND (last_activity
>= :dcValue2)",{"dcValue1":"924F660D-AEA9-4A21-99C3-1B2804A32B03","dcValue2":1744291930},{"dcValue1":2,"dcValue2":1}]},{"file":"/var/www/html/apps/notifications/lib/Service/ClientService.php","line":37,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":" → ","args":},{"file":"/var/www/html/apps/notifications/lib/Controller/EndpointController.php","line":92,"function":"hasTalkDesktop","class":"OCA\\Notifications\\Service\\ClientService","type":" → ","args":["924F660D-AEA9-4A21-99C3-1B2804A32B03",1744291930]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":" → ","args":["v2"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":" → ","args":[{"class":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":" → ","args":[{"class":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":303,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\EndpointController","listNotifications",{"class":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"apiVersion":"v2","_route":"ocs.notifications.endpoint.listnotifications"}]},{"file":"/var/www/html/ocs/v1.php","line":43,"function":"match","class":"OC\\Route\\Router","type":" → ","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/var/www/html/ocs/v2.php","line":7,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/DB/Connection.php","Line":402,"message":"dirty table reads: SELECT name
FROM *PREFIX*authtoken
WHERE (uid
= :dcValue1) AND (last_activity
>= :dcValue2)","tables":["oc_authtoken"],"reads":["oc_authtoken"],"exception":{},"CustomMessage":"dirty table reads: SELECT name
FROM *PREFIX*authtoken
WHERE (uid
= :dcValue1) AND (last_activity
>= :dcValue2)"}”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.4 Safari/605.1.15”,“version”:“30.0.7.2”}
2025-04-10T15:34:10+02:00 [1:nextcloud1:nextcloud-app] NOTICE: PHP message: [nextcloud][app_api][0] {“reqId”:“7YqmMv5mNe40Q9bbrT4u”,“level”:0,“time”:“2025-04-10T13:34:10+00:00”,“remoteAddr”:“93.244..”,“user”:“924F660D-AEA9-4A21-99C3-1B2804A32B03”,“app”:“app_api”,“method”:“GET”,“url”:“/ocs/v2.php/apps/notifications/api/v2/notifications”,“message”:“ExApp "updatenotification" not found.”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.4 Safari/605.1.15”,“version”:“30.0.7.2”,“data”:{“app”:“app_api”}}