I have nextcloud in my server (leap 15.4) I have a BQ Aquaris U phone with a LineageOS 14.1-20190210-NIGHTLY-chazou OS (Android version 7.1.2).
Nextcloud server was version 23.0.5, and the app on the phone was connecting to the server and working fine. One day it stopped working, I tried to release the connection and set it again, and I received a warning saying that the server was at end of life, so when I could a did a upgrade of the server … but it dindn’t work. Now I have nextcloud 25.0.5 in the server, and when I try to connect to the server from the app it seems it is connecting (it ask me for my username and password, when I enter them it ask me to grant permission to access, and the device is registered in the list of devices in nextcloud which have made a login) , but then is log out again.
I have another nextcloud server at other opensuse and I can connect from my phone to this second server.
I have another phone (other Aquaris U) with a “normal” android, and I can connect from this second phone to my (first) nextcloud server.
I have wipe memory of the nextcloud app in the phone, even removed the app and installed it again … nothing. I have ttried to login with username+password and woth QR code … same.
I have changed in config.php in the nextcloud server errorlevel from 3 to 0, restarted apache and try to log again. I think the error is this
{"reqId":"QzPTyzhvtVl86B7eZ7oh","level":0,"time":"2023-04-04T22:31:20+00:00","remoteAddr":"90.167.218.101","user":"--","app":"webdav","method":"HEAD","url":"/nextcloud/remote.php/dav","message":"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.24.1","version":"25.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Message":"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured","Code":0,"Trace":[{"file":"/srv/www/htdocs/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->"},{"file":"/srv/www/htdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/www/htdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/www/htdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/www/htdocs/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/www/htdocs/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/srv/www/htdocs/nextcloud/remote.php","line":171,"args":["/srv/www/htdocs/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/srv/www/htdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","Line":152,"message":"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured","exception":{},"CustomMessage":"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured"}}
But I can’t see what is wrong.
Any ideas what to search for?