[SOLVED] Nextcloud - "not found" after update

I have nextcloud installed and it works until Freedombox gets an update. Then (this time to 24.14), clicking on “webclient” I get “https:///nextcloud/apps/dashboard/” “File not found”.

Diagnosis gives these error messages:

Zugangs-URL https://localhost/nextcloud/login über TCP4 gescheitert
Zugangs-URL https://localhost/nextcloud/login über TCP6 gescheitert
Zugangs-URL https://127.0.0.1/nextcloud/login über TCP4 gescheitert
Zugangs-URL https://[::1]/nextcloud/login über TCP6 gescheitert

“Try to repair” also gives an error:

Error running action: nextcloud..setup(): CalledProcessError(1, ["podman", "exec", "--user", "www-data", "nextcloud-freedombox", "/var/www/html/occ", "maintenance:update:htaccess"])
Stdout:
│ nextcloud-freedombox
│ a770767e49352fc69968221495b43f4937ddc84582f2952dc0b508ffb478fd70
│ 
│ Set mode for background jobs to 'cron'
│ System config value htaccess.RewriteBase set to string /nextcloud
│ System config value htaccess.IgnoreFrontController set to boolean true
│ Error updating .htaccess file, not enough permissions, not enough free space or "overwrite.cli.url" set to an invalid URL?
Stderr:
║ Failed to stop nextcloud-freedombox-volume.service: Unit nextcloud-freedombox-volume.service not loaded.
║ Trying to pull docker.io/library/nextcloud:stable-fpm...
║ Getting image source signatures
║ Copying blob sha256:3619747c71c50c8038f0b2bab9e82ac9be840071910de2122961846de0af967d
║ Copying blob sha256:ed567bb62aa573b1d60ec105d0afa6db70df91cfcc92ef65be8c8d9f952550d3
║ Copying blob sha256:be59d5943ae49be3e4ff309c07ef79eacf2bf161b53590db30e1227422f98601
║ Copying blob sha256:ea235d1ccf77ca07a545b448996766dc3eca4b971b04ba39d50af69660b25751
║ Copying blob sha256:702846940aedcd56970bc052b4e64fa8ff21b12b0a6ba8ca8273f4e256aaedc2
║ Copying blob sha256:c1d168c82669385a88cb2d49927f5d97a9fd361459c5ba221ade1b4833b14530
║ Copying blob sha256:98ccf0de77890c4fed3597986b752c07bea07a56ea3ba683bcdfc66ff9c1ea2d
║ Copying blob sha256:6b5c0a10931318e55f8c3cb635396e7a6ea735ebc512de3b7b4f682d4e7c4c71
║ Copying blob sha256:43175063b2e67dabbb31e59a744885b2406ccec6e2b721ff470ce36ddb75dacf
║ Copying blob sha256:37b2050fab79d2b6a62668fb3c7cf105579eb9748dccc47a51d8fd6442c633b9
║ Copying blob sha256:cc82dabe8fa0bb8c260907749c495ee1193b5e8ad8fbdf5301c0ecae5a7e609e
║ Copying blob sha256:70d9ed2eea71987e2b18a7de31d672e3f60d3b965e2998f6d53be089bc30287d
║ Copying blob sha256:82dc6e352d858a54f97a75449011bc48143b6127a6a6056c03722201dc7f53eb
║ Copying blob sha256:0caf27f9b2c1e90aad0de5daf3f31e3cb650fce69a6ac093e888069f1c94ff7b
║ Copying blob sha256:39d69b68f5c9fe0baf677d57222beaaf01839035ae180fdee50978dfef6da548
║ Copying blob sha256:e8bbad04439fb59491412c0aa7099d97f101f3d0ff2a69c964c93ba8a0b46642
║ Copying config sha256:a770767e49352fc69968221495b43f4937ddc84582f2952dc0b508ffb478fd70
║ Writing manifest to image destination
║ Storing signatures
Action traceback:
╞   File "/usr/lib/python3/dist-packages/plinth/actions.py", line 331, in _privileged_call
╞     return_values = func(*arguments['args'], **arguments['kwargs'])
╞                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╞   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 68, in setup
╞     _nextcloud_setup_wizard(database_password)
╞   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 252, in _nextcloud_setup_wizard
╞     _run_occ('maintenance:update:htaccess')
╞   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 86, in _run_occ
╞     return _run_in_container('/var/www/html/occ', *args, **kwargs)
╞            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╞   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 81, in _run_in_container
╞     return subprocess.run(command, capture_output=capture_output, check=check)
╞            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╞   File "/usr/lib/python3.11/subprocess.py", line 571, in run
╞     raise CalledProcessError(retcode, process.args,

Memory should be fine: /boot/firmware: 160/270 MB used, / 11/64 GB used

Edit: interestingly the Android app still has access to Nextcloud
Edit2: however, login also does not work on the Android, but an old login does

1 Like

I ran into the same issue:

It was also after the freedombox package was updated, at least that is when I noticed the issue.

We have a fix upcoming for this issue in the next release. Nextcloud should automatically upgrade too latest version after that. @nbenedek for the fix and @jvalleroy for debugging the issue.

1 Like