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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
D

da5nsy

@da5nsy
Unfollow Follow
About
Posts
24
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PHP security issue
    D da5nsy
    Nextcloud

    Excellent news, thanks so much @james (for the quick reply and all the work on this generally πŸ™ ❀ )


  • PHP security issue
    D da5nsy
    Nextcloud

    Re: https://forum.cloudron.io/topic/16170/security-issue-thread-php-and-emudhra-cert-compromise/57
    There is an update for the Nextcloud app already, which is great.
    However, we're wondering whether it is safe to re-enable Nextcloud, given that Nextcloud itself contains lots of sub-apps.
    What approach are folks taking?


  • Collabora 26.04: compact WebSocket URL /cool/ws is not proxied as a WebSocket upgrade β†’ intermittent "Document loading failed"
    D da5nsy
    Collabora Online (CODE)

    image.jpeg


  • Collabora 26.04: compact WebSocket URL /cool/ws is not proxied as a WebSocket upgrade β†’ intermittent "Document loading failed"
    D da5nsy
    Collabora Online (CODE)

    I'm a user/admin who is getting frustrated by frequent "Document loading failed" errors. I tried to work out what was going on, with the help of an LLM, and it concluded that there was nothing I could do personally. Happy to provide more info if there's anything I can provide.

    Here's a bug report that the LLM drafted. Exercise cynicism.


    ⚠️ Authorship note: This report was drafted by a large language model (AI assistant) from server logs, browser-console output, and a debugging session. The log excerpts, config excerpts, and command outputs below are from the real system and are believed accurate; the root-cause analysis and proposed patch are LLM inferences and have not been confirmed by a human expert. Please verify before acting. The human reporter is a non-expert and can supply full logs and run further diagnostics on request.

    Summary

    On a Cloudron instance, opening office documents from Nextcloud intermittently fails with "Document loading failed / Failed to load Nextcloud Office (Collabora)". The failure is transient: retrying often works, and sometimes the document appears after a short wait without any page reload.

    Root cause (as analysed): the Collabora app container ships a correct nginx config in /etc/nginx/snippets/coolwsd.conf, but the active /etc/nginx/nginx.conf does not include it. The active config has a WebSocket-upgrade location only for the legacy URL form /cool/<encoded-wopisrc>/ws. Collabora 26.04's new compact WebSocket URL /cool/ws?WOPISrc=… does not match it, falls through to a generic location ~ ^/(c|l)ool that does not set the upgrade headers, and coolwsd rejects it with HTTP 400 Invalid or unknown request. The client then intermittently falls back to the legacy URL, which is upgraded β€” which is why loading is flaky and self-heals.

    Environment

    • Cloudron, with the Collabora Online (CODE) app and the Nextcloud app (Nextcloud Office / richdocuments)
    • Collabora Online Development Edition 26.04.4.2
    • Nextcloud: https://files.radicalroutes.org.uk/ Β· Collabora: https://https://docs.radicalroutes.org.uk/
    • Both apps reported up to date (Collabra: 1.60.0, Nextcloud: 5.8.10)

    Evidence

    1. Browser console, during a failure
    GET wss://docs.example.org.uk/cool/ws?WOPISrc=https://files.example.org.uk/…/wopi/files/248470_…&…&compat=
        [HTTP/1.1 400 (Bad Request) 323ms]
    Firefox can't establish a connection to the server at wss://docs.example.org.uk/cool/ws?WOPISrc=…
    Document loading failed due to timeout: Please check for failing network requests
    
    1. coolwsd log β€” compact URL is not upgraded
    ERR #73: Bad request: GET HTTP/1.0 /cool/ws?WOPISrc=…&access_token=test, content-length: -1, chunked: false,
             Host: localhost:8000 / Connection: close / …  closeConnection: true
             …: Invalid or unknown request. |wsd/ClientRequestDispatcher.cpp:1721
    "GET /cool/ws?WOPISrc=… HTTP/1.1" 400 0
    

    The request arrives as HTTP/1.0 with Connection: close β€” i.e. nginx forwarded it without the WebSocket upgrade. This happens both from the container's own nginx and through Cloudron's host proxy (public URL), so both layers fail to upgrade /cool/ws.

    1. Real-session comparison β€” legacy URL is upgraded
    "GET /cool/https%3A%2F%2Ffiles.example.org.uk%2F…%2Fwopi%2Ffiles%2F248470_…%2Fws?WOPISrc=…&compat=/ws HTTP/1.1" 101 462685
    

    101 = successful WebSocket upgrade. The compact URL gives 400; the legacy URL gives 101 β€” seconds apart, same document.

    1. Container nginx config

    Active /etc/nginx/nginx.conf (port 8000 server) β€” the only upgrade location is the legacy regex:

    # main websocket
    location ~ ^/cool/(.*)/ws$ {
        proxy_pass http://localhost:9980;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
        proxy_read_timeout 36000s;
    }
    
    # download, presentation and image upload
    location ~ ^/(c|l)ool {
        proxy_pass http://localhost:9980;
        proxy_set_header Host $http_host;      # ← no upgrade headers, HTTP/1.0 default
    }
    

    /cool/ws does not match ^/cool/(.*)/ws$ (that needs a segment between /cool/ and /ws), so it falls through to ^/(c|l)ool and is proxied without upgrade headers β€” exactly matching the HTTP/1.0 … Connection: close seen at coolwsd.

    Meanwhile /etc/nginx/snippets/coolwsd.conf does contain a correct compact-URL rule:

    location ^~ /cool/ {
        proxy_pass http://localhost:9980;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $host;
        proxy_read_timeout 36000s;
    }
    

    …but it is not wired in. Proof:

    • grep -rn 'snippets/coolwsd.conf' /etc/nginx/ returns nothing β€” no file includes it.
    • The snippet sets proxy_http_version 1.1; the live requests reach coolwsd as HTTP/1.0, which only the active config (without proxy_http_version) would produce.
    1. Curl tests (reproducible)
    # compact, container nginx β†’ 400
    curl -sS -o /dev/null -w '%{http_code}\n' -H 'Connection: Upgrade' -H 'Upgrade: websocket' \
      -H 'Sec-WebSocket-Version: 13' -H 'Sec-WebSocket-Key: x3JJHMbDL1EzLkh9GBhXDw==' \
      'http://localhost:8000/cool/ws?WOPISrc=https%3A%2F%2Ffiles.example.org.uk%2F…%2Fwopi%2Ffiles%2F248470_…&access_token=test'
    # β†’ 400
    
    # compact, public URL (adds Cloudron host proxy + TLS) β†’ 400
    # β†’ 400
    

    (access_token=test is a dummy, so status codes alone are not fully conclusive; the coolwsd log's HTTP/1.0 vs WebSocket distinction is the decisive evidence.)

    Root cause

    Collabora 26.04 introduced a compact WebSocket URL /cool/ws?WOPISrc=…, replacing the older path-embedded form /cool/<encoded-wopisrc>/ws. Reverse proxies that only recognise the legacy form fail to upgrade the new URL. This is a documented upstream change requiring proxy-config updates:

    • Upstream fix: Collabora Gerrit change 4102 β€” "Apache proxy: tunnel the compact /cool/ws WebSocket URL" (merged 2026-06-09), which adds ProxyPass /cool/ws ws://127.0.0.1:9980/cool/ws nocanon alongside the legacy rule: https://gerrit.collaboraoffice.com/c/online/+/4102
    • Known issue: CollaboraOnline/online #15918 β€” "Websocket connection fails on Version 26 and newer" (Invalid or unknown request after upgrading to collabora/code:26.04.x): https://github.com/CollaboraOnline/online/issues/15918
    • Proxy docs referenced by Collabora: https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html

    Proposed fix (Cloudron app package)

    Add an exact-match upgrade location for the compact URL to the active /etc/nginx/nginx.conf (port 8000 server), placed before the generic location ~ ^/(c|l)ool:

    # Main websocket (compact URL β€” document passed via the WOPISrc query parameter)
    location = /cool/ws {
        proxy_pass http://localhost:9980;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
        proxy_read_timeout 36000s;
    }
    

    …or wire in the already-shipped snippet by replacing the inline /browser, /hosting/, /cool/, /lool locations with include /etc/nginx/snippets/coolwsd.conf;. The exact (=) match takes priority and leaves the legacy regex working.

    Caveat for Cloudron to check: the snippet uses proxy_set_header Host $host, while the active config uses $http_host. Confirm the Host header the WOPI/WebSocket path relies on remains correct after switching.

    This is inside the app container image (/etc/nginx/…), so it can't be fixed persistently by an end user and would be overwritten on update β€” hence an app-package fix is required.

    Interim mitigations (end user)

    • None clean. The failure is masked by the client's fallback to the legacy URL, so most documents eventually open; there is no user-side setting to add the proxy rule.
    • If Cloudron can pin the Collabora app to a 25.04 build, that restores the pre-26.04 single WebSocket URL. (Confirm the option exists.)

    Ruled out (from logs during failure windows)

    • Resources: Collabora memory limit 4 GB, ~1 GB used; CPU near idle; no correlated spikes.
    • WOPI allow-list / secret / DNS / host-alias: backend WOPI path completes cleanly with HTTP 200 (CheckFileInfo β†’ GetFile β†’ write-back) from COOLWSD HTTP Agent 26.04.4.2.
    • Deleted-user / orphaned-share errors (NoUserException … sima/jack): present earlier, resolved via occ sharing:delete-orphan-shares; unrelated.
    • HTTP/3 / CSP: not the trigger in the captured failures.

    Secondary observations (not the cause)

    • Repeated Failed to exec coolmount … needs CAP_SYS_ADMIN … (known Cloudron jail-mount fallback; slower jail setup).
    • client intended to send too large body … POST /cool/convert-to/png β†’ 413 (thumbnails).
    • Failed to fetch preset uri […/template/…] (template preload).

    Attachments available on request

    Browser console log, full coolwsd log, Nextcloud access log, and the container's nginx.conf / snippets/coolwsd.conf.


  • Indico - A feature-rich event management system
    D da5nsy
    App Wishlist events

    Indico would be great - we use it at https://events.digital-research.academy/ and it is the one app that we use which is quite fiddly for us to host - would love if this was neatly wrapped up in a cloudron wrapper.


  • 5.8.2 / 33.0.4 breaks notifications
    D da5nsy
    Nextcloud

    Great, 33.0.5 has now been released - https://github.com/nextcloud/server/releases/tag/v33.0.5
    Do Cloudron packages get updated automatically?


  • 5.8.2 / 33.0.4 breaks notifications
    D da5nsy
    Nextcloud

    @joseph - since the fix has been backported, will users who install/update now get the fixed version already? Is there a way that I could "re-update" and get the backport?
    (trying to understand how cloudron packaging works and it looks like nextcloud just pulls the current hosted version - https://git.cloudron.io/packages/nextcloud-app/-/blob/master/Dockerfile?ref_type=heads#L15)


  • 5.8.2 / 33.0.4 breaks notifications
    D da5nsy
    Nextcloud

    I'm noticing this just for Deck, and haven't had chance to check other functionality yet, but it seems like the recent update may've broken notifications.
    It was working fine before the update.

    May 30 01:58:46 {"reqId":"F0VrzFrRcSiWH33ZDddT","level":3,"time":"2026-05-30T00:58:14+00:00","remoteAddr":"92.21.193.148","user":"da5nsy","app":"deck","method":"POST","url":"/apps/deck/cards","scriptName":"/index.php","message":"Call to a member function getAppValueString() on null in file '/app/data/apps/notifications/lib/Push.php' line 644","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0","version":"33.0.4.1","exception":{"Exception":"Exception","Message":"Call to a member function getAppValueString() on null in file '/app/data/apps/notifications/lib/Push.php' line 644","Code":0,"Trace":[{"file":"/app/code/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/app/code/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/app/code/lib/base.php","line":1155,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/app/code/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/code/lib/private/AppFramework/Http/Dispatcher.php","Line":150,"Previous":{"Exception":"Error","Message":"Call to a member function getAppValueString() on null","Code":0,"Trace":[{"file":"/app/data/apps/notifications/lib/Push.php","line":297,"function":"encryptAndSign","class":"OCA\Notifications\Push","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/data/apps/notifications/lib/App.php","line":37,"function":"pushToDevice","class":"OCA\Notifications\Push","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/lib/private/Notification/Manager.php","line":313,"function":"notify","class":"OCA\Notifications\App","type":"->"},{"file":"/app/data/apps/activity/lib/NotificationGenerator.php","line":47,"function":"notify","class":"OC\Notification\Manager","type":"->"},{"file":"/app/data/apps/activity/lib/Consumer.php","line":50,"function":"sendNotificationForEvent","class":"OCA\Activity\NotificationGenerator","type":"->"},{"file":"/app/code/lib/private/Activity/Manager.php","line":115,"function":"receive","class":"OCA\Activity\Consumer","type":"->"},{"file":"/app/data/apps/deck/lib/Activity/ActivityManager.php","line":457,"function":"publish","class":"OC\Activity\Manager","type":"->"},{"file":"/app/data/apps/deck/lib/Activity/ActivityManager.php","line":245,"function":"sendToUsers","class":"OCA\Deck\Activity\ActivityManager","type":"->"},{"file":"/app/data/apps/deck/lib/Service/CardService.php","line":196,"function":"triggerEvent","class":"OCA\Deck\Activity\ActivityManager","type":"->"},{"file":"/app/data/apps/deck/lib/Controller/CardController.php","line":50,"function":"create","class":"OCA\Deck\Service\CardService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"create","class":"OCA\Deck\Controller\CardController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/app/code/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/app/code/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/app/code/lib/base.php","line":1155,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/app/code/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/data/apps/notifications/lib/Push.php","Line":644},"message":"Call to a member function getAppValueString() on null in file '/app/data/apps/notifications/lib/Push.php' line 644","exception":"{\"class\":\"Exception\",\"message\":\"Call to a member function getAppValueString() on null in file '/app/data/apps/notifications/lib/Push.php' line 644\",\"code\":0,\"file\":\"/app/code/lib/private/AppFramework/Http/Dispatcher.php:150\",\"trace\":\"#0 /app/code/lib/private/AppFramework/App.php(153): OC\AppFramework\Http\Dispatcher->dispatch()\n#1 /app/code/lib/private/Route/Router.php(321): OC\AppFramework\App::main()\n#2 /app/code/lib/base.php(1155): OC\Route\Router->match()\n#3 /app/code/index.php(25): OC::handleRequest()\n#4 {main}\",\"previous\":{\"class\":\"Error\",\"message\":\"Call to a member function getAppValueString() on null\",\"code\":0,\"file\":\"/app/data/apps/notifications/lib/Push.php:644\",\"trace\":\"#0 /app/data/apps/notifications/lib/Push.php(297): OCA\Notifications\Push->encryptAndSign()\n#1 /app/data/apps/notifications/lib/App.php(37): OCA\Notifications\Push->pushToDevice()\n#2 /app/code/lib/private/Notification/Manager.php(313): OCA\Notifications\App->notify()\n#3 /app/data/apps/activity/lib/NotificationGenerator.php(47): OC\Notification\Manager->notify()\n#4 /app/data/apps/activity/lib/Consumer.php(50): OCA\Activity\NotificationGenerator->sendNotificationForEvent()\n#5 /app/code/lib/private/Activity/Manager.php(115): OCA\Activity\Consumer->receive()\n#6 /app/data/apps/deck/lib/Activity/ActivityManager.php(457): OC\Activity\Manager->publish()\n#7 /app/data/apps/deck/lib/Activity/ActivityManager.php(245): OCA\Deck\Activity\ActivityManager->sendToUsers()\n#8 /app/data/apps/deck/lib/Service/CardService.php(196): OCA\Deck\Activity\ActivityManager->triggerEvent()\n#9 /app/data/apps/deck/lib/Controller/CardController.php(50): OCA\Deck\Service\CardService->create()\n#10 /app/code/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\Deck\Controller\CardController->create()\n#11 /app/code/lib/private/AppFramework/Http/Dispatcher.php(118): OC\AppFramework\Http\Dispatcher->executeController()\n#12 /app/code/lib/private/AppFramework/App.php(153): OC\AppFramework\Http\Dispatcher->dispatch()\n#13 /app/code/lib/private/Route/Router.php(321): OC\AppFramework\App::main()\n#14 /app/code/lib/base.php(1155): OC\Route\Router->match()\n#15 /app/code/index.php(25): OC::handleRequest()\n#16 {main}\"}}","CustomMessage":"Call to a member function getAppValueString() on null in file '/app/data/apps/notifications/lib/Push.php' line 644"}}
    

    I asked an LLM and it said this was the issue, which has now been backported, but I'm out of my depth so take that with a pinch of salt.


  • Zulip - Powerful open source group chat
    D da5nsy
    App Wishlist

    Zulip update: https://chat.zulip.org/#narrow/channel/31-production-help/topic/zulip.20for.20cloudron/near/2425677 (and following messages)


  • git.cloudron.io invite request
    D da5nsy
    Package development

    Hey folks, can I get an invite to git.cloudron.io please? (dannygarside@proton.me)
    It looks like there's no way to manually sign up, and @girish said to ask here.

    I just want to fix a couple of broken links in the docs.

    FWIW I'd prefer a manual sign-up process or federated SSO with gitlab.com (or other SSO?).


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    Just to come back to the previously suggested solutions -

    1. Would it be a big feature request to add group name parsing into the mailing list input box? E.g. instead of (or in addition to) a list of email addresses it could take something like "group:foo" and then this would dynamically pull in the email addresses of all users in group foo as needed.

    2. Is there a way that cloudron user group info could be pulled in @roundcube (or another mail system), so that instead of setting up forwarding rules that go to a list of emails it could go to "group:foo".

    3. Is there a way that we could run a cron job (or similar) which could hackily create either of the above functionalities by generating and inserting the lists (rather than these lists being dynamically generated), with the downside that this would only ever be as up-to-date as the frequency with which the cron job runs.


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    @james said:

    If you find such errors with applications provided by Cloudron, please always report them in the forum so just in case if there is something wrong with the application, we can have a look and find a solution.
    Or at least, we can explain why it is behaving in a certain way.

    Will do! ❀


  • default forum notification emails
    D da5nsy
    Off-topic

    Thanks @joseph!


  • default forum notification emails
    D da5nsy
    Off-topic

    @jdaviescoates said:

    I would propose the opposite (ie no email notifications by default) πŸ™‚

    I dislike getting email notifications I haven't explicitly asked for. Just one more thing to unsubscribe from/ change settings

    That's a good option too! I think the core issue is that as things were it asked for permission, indicated that it would send email notifications, and then didn't πŸ˜…


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    @james said:

    Correct me if I am wrong but, I have this feeling that you are using group owned mailboxes to solve a need for something that should be handled by a mailing / ticketing system like @freescout or @chatwoot.
    Using such an application would resolve almost all the points you have brought up.

    Hmm, that's an interesting point. You may well be right. I'll have a think about whether that might work for us. My initial reaction is that it wouldn't go down well because unless the email integration was simple and rock solid we'd need to ask users to get to know a new tool. And currently the work of updating email lists is a hidden admin chore, and so there's not much argument for changing things from the user perspective.

    One of the groups was using Freescout until recently, but moved away from it because they couldn't get it to send emails reliably. They've now transitioned to using the kanban board feature of NextCloud (Deck) instead.


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    Looks like the mailing list approach is already a feature request: https://forum.cloudron.io/topic/11425/mailing-list-from-cloudron-group


  • default forum notification emails
    D da5nsy
    Off-topic

    When one signs up on this forum, you check a box saying that you consent to email notifications.

    The default notification settings do not have email notifications enabled.

    It was my assumption that I would receive email notifications when someone replied to a post I had made. I therefore didn't think to manually check whether someone had replied, which led to a considerable delay in me finding a solution to an issue I was facing.

    I would propose changing the email notification defaults for new users of this forum.


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    Also, is it possible to see an archive of emails which have been sent to a mailing list address? Sometimes it's useful to be able to dive in and pull something out of the archive.


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    Is it possible to send from an address that is also used as a mailing list address?
    Sometimes it is useful to be able to send email as foo@example.com.


  • Email group forwarding
    D da5nsy
    Support mail forwarding

    @james

    Thanks @james. We use @roundcube currently. I probably should've mentioned this, but I think I didn't because I have some intuition that this should be handled at the cloudron level, but perhaps this is an incorrect intuition.

    I don't think we're particularly wedded to @roundcube.

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search