Mobile Apps register device but reject the session

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.62-2+3.2.cpanel
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.2.25
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • moving the installation from another Ubuntu 20.04 server
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    • legacy installation, probably bare metal or cpanel?
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • not that I know of

Summary of the issue you are facing:

[…] After having the webhost transfer over all applications from the old machine, none of our mobile Nextcloud apps would connect, using IOS, Windows, Linux desktop or Android, the sync app rejects the connection. After pressing the button to authorize this device, they receive a 401 and the log says they were not logged in. The same behaviour when using Application Passwords. All users can login on the web interface.

Steps to replicate it (hint: details matter!):

  1. Open (or Add Account) to the Android app
  2. Enter login and password, you get a challenge for Account Access
  3. Clicking the button results in a 401 error and returns to the login screen.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

These are the only messages with my phone app as origin, although some could be when I confirmed via Firefox? I scanned the log for Samsung, assuming that would be the app.

{
   "app" : "no app in context",
   "exception" : {
      "Code" : 401,
      "CustomMessage" : "Current user is not logged in",
      "Exception" : "OCAppFrameworkMiddlewareSecurityExceptionsNotLoggedInException",
      "File" : "/var/www/nextcloud/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php",
      "Line" : 113,
      "Message" : "Current user is not logged in",
      "Trace" : [
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerClientFlowLoginController"
               },
               "grantPage"
            ],
            "class" : "OCAppFrameworkMiddlewareSecuritySecurityMiddleware",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php",
            "function" : "beforeController",
            "line" : 73,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerClientFlowLoginController"
               },
               "grantPage"
            ],
            "class" : "OCAppFrameworkMiddlewareMiddlewareDispatcher",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
            "function" : "beforeController",
            "line" : 106,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerClientFlowLoginController"
               },
               "grantPage"
            ],
            "class" : "OCAppFrameworkHttpDispatcher",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/App.php",
            "function" : "dispatch",
            "line" : 161,
            "type" : "->"
         },
         {
            "args" : [
               "OCCoreControllerClientFlowLoginController",
               "grantPage",
               {
                  "__class__" : "OCAppFrameworkDependencyInjectionDIContainer"
               },
               {
                  "_route" : "core.clientflowlogin.grantpage"
               }
            ],
            "class" : "OCAppFrameworkApp",
            "file" : "/var/www/nextcloud/lib/private/Route/Router.php",
            "function" : "main",
            "line" : 302,
            "type" : "::"
         },
         {
            "args" : [
               "/login/flow/grant"
            ],
            "class" : "OCRouteRouter",
            "file" : "/var/www/nextcloud/lib/base.php",
            "function" : "match",
            "line" : 1001,
            "type" : "->"
         },
         {
            "args" : [],
            "class" : "OC",
            "file" : "/var/www/nextcloud/index.php",
            "function" : "handleRequest",
            "line" : 24,
            "type" : "::"
         }
      ],
      "exception" : {},
      "message" : "Current user is not logged in"
   },
   "level" : 0,
   "message" : "Current user is not logged in",
   "method" : "GET",
   "remoteAddr" : "(my home IP)",
   "reqId" : "Z0KIWkkAxFtu-dASeSuK5gAAAAo",
   "time" : "2024-11-24T01:58:50+00:00",
   "url" : "/nextcloud/index.php/login/flow/grant?stateToken=qHq8GZmzZfHVKnbBuSXoEnhjSHQXKrW2EFQEo1JHYcsTphrQFYWpBrO67aMb39qI&clientIdentifier=&user=&direct=0",
   "user" : "--",
   "userAgent" : "Samsung SM-G781W (Android)",
   "version" : "30.0.2.2"
}
{
   "app" : "no app in context",
   "exception" : {
      "Code" : 0,
      "CustomMessage" : "The loading of lazy AppConfig values have been requested",
      "Exception" : "RuntimeException",
      "File" : "/var/www/nextcloud/lib/private/AppConfig.php",
      "Line" : 1194,
      "Message" : "ignorable exception",
      "Trace" : [
         {
            "args" : [
               null
            ],
            "class" : "OCAppConfig",
            "file" : "/var/www/nextcloud/lib/private/AppConfig.php",
            "function" : "loadConfig",
            "line" : 1180,
            "type" : "->"
         },
         {
            "args" : [],
            "class" : "OCAppConfig",
            "file" : "/var/www/nextcloud/lib/private/AppConfig.php",
            "function" : "loadConfigAll",
            "line" : 100,
            "type" : "->"
         },
         {
            "args" : [
               "bruteForce"
            ],
            "class" : "OCAppConfig",
            "file" : "/var/www/nextcloud/lib/private/AllConfig.php",
            "function" : "getKeys",
            "line" : 169,
            "type" : "->"
         },
         {
            "args" : [
               "bruteForce"
            ],
            "class" : "OCAllConfig",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "getAppKeys",
            "line" : 95,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)"
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "isBypassListed",
            "line" : 175,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)",
               ""
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "getAttempts",
            "line" : 192,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)"
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/core/Controller/LoginController.php",
            "function" : "getDelay",
            "line" : 151,
            "type" : "->"
         },
         {
            "args" : [
               null,
               "/nextcloud/index.php/login/flow/grant?stateToken=qHq8GZmzZfHVKnbBuSXoEnhjSHQXKrW2EFQEo1JHYcsTphrQFYWpBrO67aMb39qI&clientIdentifier=&user=&direct=0"
            ],
            "class" : "OCCoreControllerLoginController",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
            "function" : "showLoginForm",
            "line" : 208,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerLoginController"
               },
               "showLoginForm"
            ],
            "class" : "OCAppFrameworkHttpDispatcher",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
            "function" : "executeController",
            "line" : 114,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerLoginController"
               },
               "showLoginForm"
            ],
            "class" : "OCAppFrameworkHttpDispatcher",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/App.php",
            "function" : "dispatch",
            "line" : 161,
            "type" : "->"
         },
         {
            "args" : [
               "OCCoreControllerLoginController",
               "showLoginForm",
               {
                  "__class__" : "OCAppFrameworkDependencyInjectionDIContainer"
               },
               {
                  "_route" : "core.login.showloginform"
               }
            ],
            "class" : "OCAppFrameworkApp",
            "file" : "/var/www/nextcloud/lib/private/Route/Router.php",
            "function" : "main",
            "line" : 302,
            "type" : "::"
         },
         {
            "args" : [
               "/login"
            ],
            "class" : "OCRouteRouter",
            "file" : "/var/www/nextcloud/lib/base.php",
            "function" : "match",
            "line" : 1001,
            "type" : "->"
         },
         {
            "args" : [],
            "class" : "OC",
            "file" : "/var/www/nextcloud/index.php",
            "function" : "handleRequest",
            "line" : 24,
            "type" : "::"
         }
      ],
      "exception" : {},
      "message" : "The loading of lazy AppConfig values have been requested"
   },
   "level" : 0,
   "message" : "The loading of lazy AppConfig values have been requested",
   "method" : "GET",
   "remoteAddr" : "(my home IP)",
   "reqId" : "Z0KIWkkAxFtu-dASeSuK5wAAAAo",
   "time" : "2024-11-24T01:58:50+00:00",
   "url" : "/nextcloud/index.php/login?redirect_url=/nextcloud/index.php/login/flow/grant?stateToken%3DqHq8GZmzZfHVKnbBuSXoEnhjSHQXKrW2EFQEo1JHYcsTphrQFYWpBrO67aMb39qI
%26clientIdentifier%3D%26user%3D%26direct%3D0",
   "user" : "--",
   "userAgent" : "Samsung SM-G781W (Android)",
   "version" : "30.0.2.2"
}
{
   "app" : "no app in context",
   "exception" : {
      "Code" : 0,
      "CustomMessage" : "The loading of lazy AppConfig values have been requested",
      "Exception" : "RuntimeException",
      "File" : "/var/www/nextcloud/lib/private/AppConfig.php",
      "Line" : 1194,
      "Message" : "ignorable exception",
      "Trace" : [
         {
            "args" : [
               null
            ],
            "class" : "OCAppConfig",
            "file" : "/var/www/nextcloud/lib/private/AppConfig.php",
            "function" : "loadConfig",
            "line" : 1180,
            "type" : "->"
         },
         {
            "args" : [],
            "class" : "OCAppConfig",
            "file" : "/var/www/nextcloud/lib/private/AppConfig.php",
            "function" : "loadConfigAll",
            "line" : 100,
            "type" : "->"
         },
         {
            "args" : [
               "bruteForce"
            ],
            "class" : "OCAppConfig",
            "file" : "/var/www/nextcloud/lib/private/AllConfig.php",
            "function" : "getKeys",
            "line" : 169,
            "type" : "->"
         },
         {
            "args" : [
               "bruteForce"
            ],
            "class" : "OCAllConfig",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "getAppKeys",
            "line" : 95,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)"
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "isBypassListed",
            "line" : 175,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)",
               "login"
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "getAttempts",
            "line" : 192,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)",
               "login"
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/lib/private/Security/Bruteforce/Throttler.php",
            "function" : "getDelay",
            "line" : 265,
            "type" : "->"
         },
         {
            "args" : [
               "(my home IP)",
               "login"
            ],
            "class" : "OCSecurityBruteforceThrottler",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php",
            "function" : "sleepDelayOrThrowOnMax",
            "line" : 64,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerLoginController"
               },
               "tryLogin"
            ],
            "class" : "OCAppFrameworkMiddlewareSecurityBruteForceMiddleware",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php",
            "function" : "beforeController",
            "line" : 73,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerLoginController"
               },
               "tryLogin"
            ],
            "class" : "OCAppFrameworkMiddlewareMiddlewareDispatcher",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
            "function" : "beforeController",
            "line" : 106,
            "type" : "->"
         },
         {
            "args" : [
               {
                  "__class__" : "OCCoreControllerLoginController"
               },
               "tryLogin"
            ],
            "class" : "OCAppFrameworkHttpDispatcher",
            "file" : "/var/www/nextcloud/lib/private/AppFramework/App.php",
            "function" : "dispatch",
            "line" : 161,
            "type" : "->"
         },
         {
            "args" : [
               "OCCoreControllerLoginController",
               "tryLogin",
               {
                  "__class__" : "OCAppFrameworkDependencyInjectionDIContainer"
               },
               {
                  "_route" : "core.login.trylogin"
               }
            ],
            "class" : "OCAppFrameworkApp",
            "file" : "/var/www/nextcloud/lib/private/Route/Router.php",
            "function" : "main",
            "line" : 302,
            "type" : "::"
         },
         {
            "args" : [
               "/login"
            ],
            "class" : "OCRouteRouter",
            "file" : "/var/www/nextcloud/lib/base.php",
            "function" : "match",
            "line" : 1001,
            "type" : "->"
         },
         {
            "args" : [],
            "class" : "OC",
            "file" : "/var/www/nextcloud/index.php",
            "function" : "handleRequest",
            "line" : 24,
            "type" : "::"
         }
      ],
      "exception" : {},
      "message" : "The loading of lazy AppConfig values have been requested"
   },
   "level" : 0,
   "message" : "The loading of lazy AppConfig values have been requested",
   "method" : "POST",
   "remoteAddr" : "(my home IP)",
   "reqId" : "Z0KIaruWEr58t-SrmsopTQAAAAw",
   "time" : "2024-11-24T01:59:06+00:00",
   "url" : "/nextcloud/index.php/login",
   "user" : "--",
   "userAgent" : "Samsung SM-G781W (Android)",
   "version" : "30.0.2.2"
}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

# grep Samsung *log
access_log:78.153.140.177 - - [18/Nov/2024:13:29:01 +0000] "GET /client_secrets.json HTTP/1.1" 404 10087 "-" "Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG SM-G925F Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/3.2 Chrome/38.0.2125.102 Mobile Safari/537.36"
access_log:87.120.115.119 - - [19/Nov/2024:15:36:28 +0000] "GET /_profiler/phpinfo HTTP/1.1" 404 10086 "-" "Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G960F Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/8.2 Chrome/63.0.3239.111 Mobile Safari/537.36"
access_log:185.208.156.160 - - [20/Nov/2024:05:04:26 +0000] "GET / HTTP/1.1" 200 163 "-" "Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G950F Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.4 Chrome/67.0.3396.87 Mobile Safari/537.36"
access_log:78.153.140.224 - - [20/Nov/2024:12:12:07 +0000] "GET /BU/.env HTTP/1.1" 403 10066 "-" "Mozilla/5.0 (Linux; Android 5.0.1; SAMSUNG SPH-L720T Build/LRX22C) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36"
access_log:78.153.140.224 - - [20/Nov/2024:12:12:21 +0000] "GET /Stag/.env HTTP/1.1" 403 10070 "-" "Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-N920T Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.2 Chrome/56.0.2924.87 Mobile Safari/537.36"
modsec_audit.log:User-Agent: Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG SM-G920T Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/3.2 Chrome/38.0.2125.102 Mobile Safari/537.36
modsec_audit.log:User-Agent: Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG SM-G925F Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/3.2 Chrome/38.0.2125.102 Mobile Safari/537.36
modsec_audit.log:User-Agent: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G960F Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/8.2 Chrome/63.0.3239.111 Mobile Safari/537.36
modsec_audit.log:User-Agent: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G950F Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.4 Chrome/67.0.3396.87 Mobile Safari/537.36
modsec_audit.log:User-Agent: Mozilla/5.0 (Linux; Android 5.0.1; SAMSUNG SPH-L720T Build/LRX22C) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36
modsec_audit.log:User-Agent: Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-N920T Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.2 Chrome/56.0.2924.87 Mobile Safari/537.36
modsec_audit.log:User-Agent: Samsung SM-G781W (Android)

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "ak.modusresearch.com"
        ],
        "default_phone_region": "CA",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.2.2",
        "overwrite.cli.url": "https:\/\/ak.modusresearch.com\/nextcloud",
        "overwriteprotocol": "https",
        "overwritehost": "ak.modusresearch.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mysql.utf8mb4": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 1,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 7
    }
}

Apps

The output of occ app:list (if possible).
It doesn’t get as far as apps, so I haven’t included this

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Did you have mod_security on the prior host? And, if so, with the same ruleset and running with v30 of Nextcloud?

Sadly, yes on both counts, mod_security2 is enabled on both, and both have the same configuration.

As I understand it, the main difference between web access and the apps is the apps use WebDAV or some such to effect a shared/sync’d remote-filesystem. Could there be some other security thing that would only affect DAV? Is there some manual (command line?) test I can do to verify access by these apps?

I didn’t mention before, but when I use the web interface to look at my personal account, I see my phone as an authorized device, so whatever failed, fails after registering the mobile device.

occ setupcheck finds everything fine:
WebDAV endpoint: Your web server is properly set up to allow file synchronization over WebDAV.

Not to seem impatient :sweat_smile:, but is there a better forum to ask about Nextcloud mobile apps? Or is there a developer forum where someone may be able to run the app against our site while watching debug from the app side?

As it sits, all our subscribers are locked out of their sync apps since the flip to the new server :frowning:

This is a legacy install, so still finding my way around Softaculous installations, but I did find this sequence in the domlogs access_log:

xxx.xxx.xxx.xxx - - [25/Nov/2024:04:12:22 +0000] "GET /nextcloud/index.php/login/flow/grant?stateToken=llvuXBpRjczrAxne2VD9bvB2WC2VoJtWlm6dZFLXWn16XK7hrE9DryugWjEzZRyB&clientIdentifier=&user=&direct=0 HTTP/1.1" 303 - "https://ak.modusresearch.com/nextcloud/index.php/login/flow" "Samsung SM-G781W (Android)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:04:12:22 +0000] "GET /nextcloud/index.php/login?redirect_url=/nextcloud/index.php/login/flow/grant?stateToken%3DllvuXBpRjczrAxne2VD9bvB2WC2VoJtWlm6dZFLXWn16XK7hrE9DryugWjEzZRyB%26clientIdentifier%3D%26user%3D%26direct%3D0 HTTP/1.1" 200 7253 "https://ak.modusresearch.com/nextcloud/index.php/login/flow" "Samsung SM-G781W (Android)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:04:12:32 +0000] "POST /nextcloud/index.php/login HTTP/1.1" 303 - "https://ak.modusresearch.com/nextcloud/index.php/login?redirect_url=/nextcloud/index.php/login/flow/grant?stateToken%3DllvuXBpRjczrAxne2VD9bvB2WC2VoJtWlm6dZFLXWn16XK7hrE9DryugWjEzZRyB%26clientIdentifier%3D%26user%3D%26direct%3D0" "Samsung SM-G781W (Android)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:04:12:34 +0000] "GET /nextcloud/index.php/login/flow/grant?stateToken=llvuXBpRjczrAxne2VD9bvB2WC2VoJtWlm6dZFLXWn16XK7hrE9DryugWjEzZRyB&clientIdentifier=&user=&direct=0 HTTP/1.1" 200 7518 "https://ak.modusresearch.com/nextcloud/index.php/login?redirect_url=/nextcloud/index.php/login/flow/grant?stateToken%3DllvuXBpRjczrAxne2VD9bvB2WC2VoJtWlm6dZFLXWn16XK7hrE9DryugWjEzZRyB%26clientIdentifier%3D%26user%3D%26direct%3D0" "Samsung SM-G781W (Android)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:04:12:37 +0000] "POST /nextcloud/index.php/login/flow HTTP/1.1" 303 - "https://ak.modusresearch.com/nextcloud/index.php/login/flow/grant?stateToken=llvuXBpRjczrAxne2VD9bvB2WC2VoJtWlm6dZFLXWn16XK7hrE9DryugWjEzZRyB&clientIdentifier=&user=&direct=0" "Samsung SM-G781W (Android)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:04:12:40 +0000] "GET /nextcloud/index.php/login/flow HTTP/1.1" 200 7618 "-" "Samsung SM-G781W (Android)"

another suspicious error in the access log is happening periodically, perhaps triggered by remote apps left running?

"PROPFIND /nextcloud/remote.php/dav/files/USERID/ HTTP/1.1" 401 537 "-" "Mozilla/5.0 (Windows) mirall/3.14.3stable-Win64 (build 20241031) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"

On the chance a desktop might reveal more, I downloaded the latest AppImage and connected. From selecting my server, I am forwarded to Firefox to login, and there asked to authorize this access, and the authorization is confirmed, but on returning to the AppImage, again it is a 401 Unauthorized error and it offers to choose the server again. Here are the apache logs for the session:

==> domlogs/ak.modusresearch.com-ssl_log <==
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:40:23 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:40:53 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:41:23 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:41:53 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:10 +0000] "GET /nextcloud/status.php HTTP/1.1" 200 140 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:10 +0000] "GET /nextcloud HTTP/1.1" 301 247 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:10 +0000] "PROPFIND /nextcloud/remote.php/dav/files// HTTP/1.1" 401 539 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:10 +0000] "GET /nextcloud/ HTTP/1.1" 302 20 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:10 +0000] "GET /nextcloud/ocs/v2.php/cloud/capabilities?format=json HTTP/1.1" 200 405 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:10 +0000] "GET /nextcloud/index.php/login HTTP/1.1" 200 7108 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:11 +0000] "POST /nextcloud/index.php/login/v2 HTTP/1.1" 200 341 "-" "strata (Desktop Client - Linux)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:13 +0000] "GET /nextcloud/index.php/login/v2/flow/vkk2v2essnzz6dhQQ0xL477ZrWfvhW7cx1sOUHUOrO9jtZyaQykC2HgyOYqlxMEpAoufkhOOLwb1CTVzaPyJEySlCHIoYu4W7az9HDmZMcnNP572L6nLGinNHpN5RUAt HTTP/1.1" 303 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:13 +0000] "GET /nextcloud/index.php/login/v2/flow?user=&direct=0 HTTP/1.1" 200 7818 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:14 +0000] "GET /nextcloud/core/css/login/authpicker.css?v=cfcd2084-6 HTTP/1.1" 200 538 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:14 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:14 +0000] "GET /nextcloud/core/js/login/authpicker.js?v=afe6849c-6 HTTP/1.1" 200 580 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:14 +0000] "GET /nextcloud/core/css/guest.css?v=cfcd2084-6 HTTP/1.1" 200 15771 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:14 +0000] "GET /nextcloud/apps/theming/css/default.css?v=8b9b7e7e-6 HTTP/1.1" 200 4971 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:14 +0000] "GET /nextcloud/index.php/apps/theming/theme/opendyslexic.css?plain=0&v=094a8b16 HTTP/1.1" 200 634 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:15 +0000] "GET /nextcloud/index.php/apps/theming/image/logo?v=6 HTTP/1.1" 200 91235 "https://ak.modusresearch.com/nextcloud/core/css/guest.css?v=cfcd2084-6" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:15 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:23 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:25 +0000] "GET /nextcloud/index.php/login/v2/grant?stateToken=Q20tUQVu29RJliQh5azPcwS7cwxJSsXI5Nc3KQ2CRABct5gT1efc0OghMOIu862Q&user=&direct=0 HTTP/1.1" 200 7500 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:25 +0000] "GET /nextcloud/core/js/login/grant.js?v=afe6849c-6 HTTP/1.1" 200 564 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/grant?stateToken=Q20tUQVu29RJliQh5azPcwS7cwxJSsXI5Nc3KQ2CRABct5gT1efc0OghMOIu862Q&user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:26 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:27 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:33 +0000] "GET /nextcloud/core/img/loading-small-dark.gif HTTP/1.1" 200 1816 "https://ak.modusresearch.com/nextcloud/core/css/guest.css?v=cfcd2084-6" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:33 +0000] "POST /nextcloud/index.php/login/v2/grant HTTP/1.1" 200 7232 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/grant?stateToken=Q20tUQVu29RJliQh5azPcwS7cwxJSsXI5Nc3KQ2CRABct5gT1efc0OghMOIu862Q&user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:34 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:35 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:42 +0000] "POST /nextcloud/index.php/login/v2/poll HTTP/1.1" 200 170 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:43 +0000] "GET /nextcloud/ocs/v1.php/cloud/user?format=json HTTP/1.1" 401 140 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:43 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Gary/ HTTP/1.1" 401 539 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:44 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Gary/ HTTP/1.1" 401 539 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:52 +0000] "POST /nextcloud/index.php/login/v2 HTTP/1.1" 200 340 "-" "strata (Desktop Client - Linux)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:53 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:54 +0000] "GET /nextcloud/index.php/login/v2/flow/h3vKK6XiO2OsRT6HtrvZk0AcYo2sFDLGRHzFSwH8hrDMvgFQgf4M5jN7OHZiDzQFoLicS8FCayNUnzZAWu9LBG4opZ0vGYa036HvYi3RmQGZLOU7vpBZMF9FO9DLKZCQ HTTP/1.1" 303 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:54 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:54 +0000] "GET /nextcloud/index.php/login/v2/flow?user=&direct=0 HTTP/1.1" 200 7822 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:55 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:42:56 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:13 +0000] "GET /nextcloud/index.php/login/v2/grant?stateToken=3NTj58NBZOIYN7KITBzO9DzTOCj9vTZIKwNwS2858EHkCz5wVBBUeJOFzuoWULiG&user=&direct=0 HTTP/1.1" 200 7504 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/flow?user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:14 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:15 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:16 +0000] "POST /nextcloud/index.php/login/v2/grant HTTP/1.1" 200 7230 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/grant?stateToken=3NTj58NBZOIYN7KITBzO9DzTOCj9vTZIKwNwS2858EHkCz5wVBBUeJOFzuoWULiG&user=&direct=0" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:17 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:18 +0000] "GET /nextcloud/index.php/apps/theming/icon?v=094a8b16 HTTP/1.1" 200 29735 "https://ak.modusresearch.com/nextcloud/index.php/login/v2/grant" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:18 +0000] "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 5252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:22 +0000] "POST /nextcloud/index.php/login/v2/poll HTTP/1.1" 200 170 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:23 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:23 +0000] "GET /nextcloud/ocs/v1.php/cloud/user?format=json HTTP/1.1" 401 140 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:23 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Gary/ HTTP/1.1" 401 539 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:24 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Gary/ HTTP/1.1" 401 539 "-" "Mozilla/5.0 (Linux) mirall/3.15.03.15 (build 27020) (Nextcloud, ubuntu-6.8.0-49-lowlatency ClientArchitecture: x86_64 OsArchitecture: x86_64)"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:45 +0000] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 150 "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:43:53 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:44:23 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:44:53 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:45:23 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
xxx.xxx.xxx.xxx - - [25/Nov/2024:22:45:53 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "https://ak.modusresearch.com/nextcloud/index.php/settings/user/security" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"

the masked IP is my home router.

After long exasperations, I gave an account to the webhost and they prodded it overnight and announced a fix that I will wager none of you would have guessed.

Recall the symptom: only mobile apps, but all mobile apps were shut out as soon as their device was registered, with no mentions in any logs as to why.

The solution: in the CPanel, only the Nextcloud site had FPM disabled. Once enabled, everything worked as before.

1 Like

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