[SOLVED] Failed to Install NextCloud after Upgrade to FB 24.21

Error occurs attempting to install NextCloud. I have updaetd to

Problem Description
This morning I upgraded to FreedomBox 24.21 and attempted to install NextCloud. NextCloud failed to install, and I received the messate:

Steps to Reproduce

  1. Login to FreedomBox.
  2. Go to NextCloud application page.
  3. Click on the install button.

Expected Results
I expected to see a message confirming installation of NextCloud

Actual results
I get an error with the following message:

Error installing app: Command β€˜[β€˜podman’, β€˜exec’, β€˜β€“user’, β€˜www-data’, β€˜nextcloud-freedombox’, β€˜php’, β€˜-r’, β€˜if (file_exists(β€œ/var/www/html/config/config.php”)) {include_once(β€œ/var/www/html/config/config.php”);print($CONFIG[β€œdbpassword”] ?? β€œβ€); }’]’ returned non-zero exit status 255. Details

Error running action: nextcloud..setup(): CalledProcessError(255, ["podman", "exec", "--user", "www-data", "nextcloud-freedombox", "php", "-r", "if (file_exists(\"/var/www/html/config/config.php\")) {include_once(\"/var/www/html/config/config.php\");print($CONFIG[\"dbpassword\"] ?? \"\"); }"])
Stdout:
β”‚ nextcloud-freedombox
β”‚ 25e23ac1b8efce98deedd29a343c7b732b4e609a161f5fd6e5294277041b6933
β”‚ 
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:4f874d426613af37c14f2681929b5b3311521764d6c5fa8e3fb74f6b3fbf5211
β•‘ Copying blob sha256:07fc0890b857ec241446d5da032bf36da2a006ce8868ba150a76a1ee16772b39
β•‘ Copying blob sha256:2720d4bca8b3db19acbea04618296e463e4cde1df16c277954505ad4e50893eb
β•‘ Copying blob sha256:141aa7d58c576d5efbf995cfdd139044be15add60b2f0e5f7b295fdc4cc511d3
β•‘ Copying blob sha256:335860595c9c5dd659c552310c194753be4fb655b23834ca27f53688de288552
β•‘ Copying blob sha256:302e3ee498053a7b5332ac79e8efebec16e900289fc1ecd1c754ce8fa047fcab
β•‘ Copying blob sha256:0e3733df7d79ab0b535c9599cde91f465783c2509cf44c26f9e95e6fdeb85dbc
β•‘ Copying blob sha256:62ba943a83700c58c867b7d2581d97b17eb1d9b69ace85695cbab625060ea358
β•‘ Copying blob sha256:49bb43ce95cc4c056b71867d7d5261b1d7b79b8892d00996d531b9b13782feec
β•‘ Copying blob sha256:69b29540d82c01d350aff4bf3b2e845033c830423d2f5f073d9dde52650ee55e
β•‘ Copying blob sha256:ba769494dcdcb0a78490c404efc462243de22e9a090382269e2f42a6a1c9f472
β•‘ Copying blob sha256:1d9878f67dce5000da9cd4284e28a62b62712f28bec913769900465696eef169
β•‘ Copying blob sha256:b48653562ec18486cf53e6d89814af387a60eaa164386e6a5b03c4776fe3b036
β•‘ Copying blob sha256:ecf5e1e36f3202c43ab4719942af59c43bcdaf5ad2cc1ac3c3e37f12f19fca02
β•‘ Copying blob sha256:8d939785ebeed4574f0ec7ed3853688feff2ca956ce3cd78579b702f51347514
β•‘ Copying blob sha256:fe04b9c608c50751f1ffcf8dae625cbd28a06e5f9c8e727712de29bdd28afd01
β•‘ Copying config sha256:25e23ac1b8efce98deedd29a343c7b732b4e609a161f5fd6e5294277041b6933
β•‘ Writing manifest to image destination
β•‘ Storing signatures
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
β•‘ Error: unable to find user www-data: no matching entries in passwd file
Action traceback:
β•ž   File "/usr/lib/python3/dist-packages/plinth/actions.py", line 391, in _privileged_call
β•ž     return_values = func(*arguments['args'], **arguments['kwargs'])
β•ž                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
β•ž   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 59, in setup
β•ž     database_password = _get_database_password()
β•ž                         ^^^^^^^^^^^^^^^^^^^^^^^^
β•ž   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 407, in _get_database_password
β•ž     return _run_in_container('php', '-r', code,
β•ž            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
β•ž   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,

Information

  • Debian GNU/Linux 12 (bookworm) and FreedomBox version 24.21
  • Hardware: Dell Optiplex 3020, 16GB Memory, 4TB Storage
  • How did you install FreedomBox?: Followed instructions using for PC installation
  • This Freedombox has been running for a year without problem.

@nomadicoder , Thank you for the detailed report. I will try to reproduce this issue and work on it.

Did you install FreedomBox using Debian package after installing Debian OS? Or did you use amd64 pre-built images?

Thanks for replying, Sunil. I installed the Debian package after installing Debian OS.

I have the same issue, also installed Freedombox on top of Debian.

@catalyst , @nomadicoder Thank you both for the information. This helps in attempts to reproduce the problem.

I can reproduce this issue on the RPI4 image too.

@nbenedek and I have worked on the issue and identified the cause to be a security tightening we did in the latest release. We have a couple of options to fix the problem. A fix will be available in the upcoming release. Track the issue here.

3 Likes

@sunil Thank you for investigating this! I look forward to the release with the fix.

2 Likes

Hi,

Nextcloud did not update on my machine with the latest update. It just constantly tried to install and failed with no error.

I tried uninstalling Nextcloud, which eventually finished. On trying to reinstall, I received the following error:

Error installing app: Command '['sudo, β€˜β€“non-interactive’, β€˜β€“close-from’, β€˜23’,

β€˜Yusr/share/plinth/actions/actions’, β€˜nextcloud’, β€˜setup’, '-

-write-fd’, β€˜22’]’ died with < Signals.SIGTERM: 15>.

@catalyst , What is your version of FreedomBox? Could you also post the full error message?

Software version is 24.22

Attached error message below. Is there a log with more details?

1 Like

FreedomBox 24.22 has all the fixes for Nextcloud. Could you please wait in the Nextcloud installation page? After the installation fails, it will show an error message on the app page. This message will have β€˜Details’ link which when clicked will show the details we need.

1 Like

Hello! It looks like I’m seeing something similar on 24.22:

Error running action: nextcloud..setup(): CalledProcessError(125, ["podman", "image", "pull", "docker.io/library/nextcloud:stable-fpm"])
Stdout:
β”‚ nextcloud-freedombox
Stderr:
β•‘ Failed to stop nextcloud-freedombox-volume.service: Unit nextcloud-freedombox-volume.service not loaded.
β•‘ Trying to pull docker.io/library/nextcloud:stable-fpm...
β•‘ time="2024-10-27T14:30:03-04:00" level=warning msg="Failed, retrying in 1s ... (1/3). Error: copying system image from manifest list: determining manifest MIME type for docker://nextcloud:stable-fpm: reading manifest sha256:7ed5f78a8714fcfe6e2a8370611dcdf257ee913be741b3e6ed6b33bd5d35d955 in docker.io/library/nextcloud: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
β•‘ time="2024-10-27T14:30:35-04:00" level=warning msg="Failed, retrying in 1s ... (2/3). Error: initializing source docker://nextcloud:stable-fpm: reading manifest stable-fpm in docker.io/library/nextcloud: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
β•‘ time="2024-10-27T14:31:36-04:00" level=warning msg="Failed, retrying in 1s ... (3/3). Error: copying system image from manifest list: determining manifest MIME type for docker://nextcloud:stable-fpm: reading manifest sha256:7ed5f78a8714fcfe6e2a8370611dcdf257ee913be741b3e6ed6b33bd5d35d955 in docker.io/library/nextcloud: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
β•‘ Error: initializing source docker://nextcloud:stable-fpm: reading manifest stable-fpm in docker.io/library/nextcloud: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Action traceback:
β•ž   File "/usr/lib/python3/dist-packages/plinth/actions.py", line 391, in _privileged_call
β•ž     return_values = func(*arguments['args'], **arguments['kwargs'])
β•ž                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
β•ž   File "/usr/lib/python3/dist-packages/plinth/modules/nextcloud/privileged.py", line 50, in setup
β•ž     action_utils.podman_create(container_name=CONTAINER_NAME,
β•ž   File "/usr/lib/python3/dist-packages/plinth/action_utils.py", line 525, in podman_create
β•ž     subprocess.run(['podman', 'image', 'pull', image_name], check=True)
β•ž   File "/usr/lib/python3.11/subprocess.py", line 571, in run
β•ž     raise CalledProcessError(retcode, process.args,
1 Like

Thanks for the help!

So after a reboot, I was able to uninstall Nextcloud.

I started the reinstall, and it worked with no errors!

But, when trying to access, I now receive the attached message.

It appears that the docker hub server from where we download the container images is limiting the number of pull requests that can be made to it. This seems to be 100 per six hours. I wonder if this is because of FreedomBox continuously trying and failing to setup Nextcloud or perhaps it is because your ISP provides a public IP address that is shared by many others.

We will try to resolve this. Meanwhile, please try again after some time.

@catalyst Looks like you Nextcloud installation went well. FreedomBox will automatically setup all the known domain names (listed in the Names app) to be trusted domains for Nextcloud. If you are not accessing Nextcloud using one of these domain names (freedombox.local, etc.), then you will see the error you have posted. This can happen, for example, when Nextcloud is accessed using FreedomBox’s IP address. In this case, please set the value of β€˜Override domain’ to be the IP address that you are using to access FreedomBox. This will set the value of trusted domains for Nextcloud and Nextcloud will allow access using that IP address.

That’s it! Thanks for the help!

@sunil I was able to install NextCloud with the 24.22 update. Thanks for addressing the problem. I’ll test this for the next few weeks and see if NextCloud will keep running over time.

Thank you! No luck yet but I’ll continue to try.