Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Nextcloud

409 Topics 3.3k Posts
  • Nextcloud - Package Updates

    Pinned Locked
    128
    1 Votes
    128 Posts
    109k Views
    Package UpdatesP
    [5.8.6] Update server to 34.0.3 Full Changelog
  • Nextcloud Notes no longer synchronizes

    Moved
    39
    0 Votes
    39 Posts
    12k Views
    ?
    This problem was driving me mad. May have discovered a solution for the problem when App not syncing to cloud but could to app work's. I also run Grapheneos and the change that makes notes sync again was grating the application contracts permission. Didn't do deeper testing so far I just started to work again after that change
  • Is it possible/safe to install Client Push App ?

    10
    0 Votes
    10 Posts
    2k Views
    andreasduerenA
    I think I got Nextcloud Client Push (notify_push) working persistently with the current Cloudron Nextcloud package. Tested with: Cloudron Nextcloud package 5.8.5 Nextcloud 34.0.2 notify_push 1.3.5 This uses only /app/data; it does not modify read-only /app/code or /etc. I verified it across a full Cloudron app restart. 1. Install Client Push Install Client Push from the Nextcloud Apps page, or run this in the Nextcloud app terminal: sudo -u www-data php /app/code/occ app:install notify_push || true sudo -u www-data php /app/code/occ app:enable notify_push 2. Create the persistent daemon runner Run in the Nextcloud app terminal: mkdir -p /app/data/notify_push cat > /app/data/notify_push/runner.sh <<'EOF' #!/bin/bash set -u binary="/app/data/apps/notify_push/bin/x86_64/notify_push" config="/app/data/config/config.php" if [[ ! -x "${binary}" ]]; then echo "notify_push binary is missing: ${binary}" >&2 exit 1 fi # Apache supplies a pipe on stdin. Preserve and drain it so requests cannot block. exec 3<&0 cat <&3 >/dev/null & reader_pid=$! "${binary}" \ --bind 127.0.0.1 \ --port 7867 \ --nextcloud-url http://127.0.0.1 \ "${config}" & push_pid=$! cleanup() { kill -TERM "${push_pid}" "${reader_pid}" 2>/dev/null || true wait "${push_pid}" "${reader_pid}" 2>/dev/null || true } trap cleanup EXIT trap 'exit 0' HUP INT TERM wait "${push_pid}" EOF chown www-data:www-data /app/data/notify_push/runner.sh chmod 0755 /app/data/notify_push/runner.sh The daemon binds only to loopback. Port 7867 is not exposed publicly. 3. Add the internal callback configuration The daemon must contact Nextcloud directly instead of looping back through Cloudron’s public proxy: cat > /app/data/config/notify_push.config.php <<'EOF' <?php $CONFIG = [ 'trusted_domains' => [ getenv('CLOUDRON_APP_DOMAIN'), '127.0.0.1', ], 'trusted_proxies' => [ getenv('CLOUDRON_PROXY_IP'), '127.0.0.1', ], ]; EOF chown www-data:www-data /app/data/config/notify_push.config.php chmod 0640 /app/data/config/notify_push.config.php Do not add --glob-config to the daemon command. The Rust configuration parser cannot evaluate the getenv() calls in this extra PHP config file. 4. Add the persistent Apache proxy First save the original configuration: cp -n /app/data/apache/mpm_prefork.conf \ /app/data/apache/mpm_prefork.conf.before-notify-push Then append the integration once: if ! grep -Fq "BEGIN CLOUDRON NOTIFY_PUSH" /app/data/apache/mpm_prefork.conf; then cat >> /app/data/apache/mpm_prefork.conf <<'EOF' # BEGIN CLOUDRON NOTIFY_PUSH <IfModule !proxy_module> LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so </IfModule> <IfModule !proxy_http_module> LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so </IfModule> <IfModule !proxy_wstunnel_module> LoadModule proxy_wstunnel_module /usr/lib/apache2/modules/mod_proxy_wstunnel.so </IfModule> ProxyPass "/push/ws" "ws://127.0.0.1:7867/ws" ProxyPass "/push/" "http://127.0.0.1:7867/" ProxyPassReverse "/push/" "http://127.0.0.1:7867/" GlobalLog "|/usr/local/bin/gosu www-data:www-data /app/data/notify_push/runner.sh" combined # END CLOUDRON NOTIFY_PUSH EOF fi chown www-data:www-data /app/data/apache/mpm_prefork.conf chmod 0644 /app/data/apache/mpm_prefork.conf GlobalLog gives Apache ownership of the daemon lifecycle. Apache starts the runner whenever the app starts and respawns it if it exits. 5. Validate and activate Apache apache2ctl configtest Only continue if it reports Syntax OK: supervisorctl restart apache2 Check that the daemon is running: ps -ef | grep '[n]otify_push' curl -i "https://${CLOUDRON_APP_DOMAIN}/push/test/cookie" The unauthenticated curl request should return HTTP 400 with Missing request header "token". That is expected and confirms the public proxy reaches the daemon. 6. Configure Nextcloud sudo -u www-data php /app/code/occ \ notify_push:setup "https://${CLOUDRON_APP_DOMAIN}/push" All checks should pass: ✓ redis is configured ✓ push server is receiving redis messages ✓ push server can load mount info from database ✓ push server can connect to the Nextcloud server ✓ push server is a trusted proxy ✓ push server is running the same version as the app configuration saved Run the self-test: sudo -u www-data php /app/code/occ notify_push:self-test 7. Verify persistence Restart Nextcloud from the Cloudron dashboard. Once it is healthy again, reopen the terminal and run: sudo -u www-data php /app/code/occ notify_push:self-test ps -ef | grep '[n]otify_push' The saved endpoints should be: https://your-nextcloud-domain.example/push wss://your-nextcloud-domain.example/push/ws I also confirmed that both, my Hermes and the official Nextcloud sync client connected and authenticated to the WebSocket after the restart. Notes This is an instance-level workaround because the current Cloudron package has no custom supervisor hook. It follows the official notify_push architecture: a background daemon plus an Apache reverse proxy. Everything persistent is stored in: /app/data/apache/mpm_prefork.conf /app/data/notify_push/runner.sh /app/data/config/notify_push.config.php The original Apache configuration is retained at: /app/data/apache/mpm_prefork.conf.before-notify-push I would rerun notify_push:self-test after future Nextcloud or Cloudron package updates.
  • NextCloud can't start after v5.8.4 update

    Moved nextcloud oauth sso
    22
    0 Votes
    22 Posts
    951 Views
    potemkin_aiP
    Viva la LLM: The container is healthy now — 1 running, 0 unresponsive. The Cloudron update worked: - New image: cloudron/com.nextcloud.cloudronapp:202607231345050000 - Nextcloud: 34.0.2 (up from 34.0.1) - user_oidc: 8.10.1 — working! How extensions should be updated in Nextcloud under Cloudron The proper way is: 1. occ app:update — updates from Nextcloud app store to /app/data/apps/ (persistent across restarts) 2. Nextcloud web UI → Apps — same effect 3. Cloudron app package update — what you just did; the vendor bundles newer versions in the image The root issue was that the old image (202606251555380000) bundled user_oidc 8.3.0 which had max-version="33" — incompatible with Nextcloud 34. The startup script's $occ user_oidc:provider command couldn't register. The data volume still had our manually-installed 8.10.1 from earlier. The new image (202607231345050000) likely bundles a compatible version, or my 8.10.1 on the data volume is now taking effect.
  • NC v33.0.6 available?

    4
    0 Votes
    4 Posts
    341 Views
    G
    Thanks a lot for your support we will discuss in our team how to proceed but with your help, the way look promising.
  • Nextcloud 34

    5
    0 Votes
    5 Posts
    780 Views
    jdaviescoatesJ
    @sponch said: they have (in Browser). Got it already running on a test VPS Good to know, thanks! That's one of the few limitations of OnlyOffice. It mostly doesn't bother me, but there are occasions where mobile editing would be handy.
  • 5.8.2 / 33.0.4 breaks notifications

    7
    1 Votes
    7 Posts
    674 Views
    jamesJ
    Hello @da5nsy Yes as soon the update is validated by us the update will be available for everyone.
  • 0 Votes
    10 Posts
    715 Views
    necrevistonnezrN
    https://forum.cloudron.io/post/74532 and https://forum.cloudron.io/post/74973 Too many times it‘s just this browser…
  • Polls app update causing error

    9
    1
    0 Votes
    9 Posts
    1k Views
    jamesJ
    Hello @ntnsndr Best to use the occ to uninstall the app and then try to install it again. If this does not resolve the issue you might have to report this in the nextcloud forum or the GitHub of the polls app directly.
  • Drag and Drop not working

    4
    1 Votes
    4 Posts
    523 Views
    E
    Hey there, since package 5.8.1 the drag'n'drop bug is gone. Thx!
  • Nextcloud stuck in startup loop

    nfs
    3
    1 Votes
    3 Posts
    429 Views
    J
    There's many hits for "Could not acquire a shared lock on the config file" on the forum (most of them leading to nothing)
  • 0 Votes
    3 Posts
    346 Views
    nebulonN
    so you are referring to sieve rules support I guess if I read that issue correctly. Have you configured sieve in your nextcloud? Since the nextcloud mail app is acting like a webmail client, you have to configure that by hand I assume.
  • "Last job execution ran X days ago. Something seems wrong." with cron.

    Solved
    10
    2
    0 Votes
    10 Posts
    1k Views
    jamesJ
    Marked as solved due to inactivity from the author.
  • Social App well-known error.

    2
    1
    0 Votes
    2 Posts
    358 Views
    nebulonN
    The well-known is usually served up by the main domain (example.com) so for a start if your nextcloud is installed on a subdomain, the well-known needs to be configured outside this nextcloud instance. So make sure to have an app installed at example.com so it gets routed to Cloudron. Then you can configure this via https://docs.cloudron.io/domains#well-known-locations Though not exactly sure if this nextcloud app would expect the same things as mastodon, but you can try to set the well-known mastodon accordingly, maybe that works. Otherwise we may have to add support for whatever this needs.
  • Upgrade to 33.0.1 Fail

    4
    1 Votes
    4 Posts
    656 Views
    jamesJ
    Hello @firmansi Thanks for the report. Then I have to assume that it is some Nextcloud third party app issue with the latest update.
  • Transfer OIDC user to local user

    3
    1 Votes
    3 Posts
    664 Views
    David 0D
    Thanks for your reply! I guess we'll just keep the existing users on oidc then. Or maybe, if they're willing to, they can migrate manually. Most shares and other tools (collectives, calendars) are shared via groups, not link.
  • Nextcloud 33 Appears on Git but Not Released - Any News?

    13
    1 Votes
    13 Posts
    2k Views
    jdaviescoatesJ
    @sponch thanks for the reminder
  • 2 Votes
    1 Posts
    408 Views
    No one has replied
  • nextcloud talk - end-to-end-encryption

    nextcloud nextcloud talk encryption
    1
    3 Votes
    1 Posts
    766 Views
    No one has replied
  • Android Client Sync failing - Unknown Error

    4
    0 Votes
    4 Posts
    684 Views
    D
    Here's how I've temporarily worked around the situation: Manually synced all auto upload folders to ensure I'm not missing any files Cleared the cache on the Nextcloud app Told it to ignore all pending uploads I think there is some sort of rate limit causing issues - once you get too many items pending re-upload, it just keeps hitting the server and Cloudron starts rejecting / ignoring requests from the client, which puts it into a weird state.