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

Apps - Status | Demo | Docs | Install
D

droidforensics

@droidforensics
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • App Uninstall Fails, Throws BoxError
    D droidforensics

    Hi there Cloudron community!

    When I try uninstalling Outline or the VPN app, the uninstall fails:

    BoxError: Cannot delete or update a parent row: a foreign key constraint fails (`box`.`mailPasswords`, CONSTRAINT `mailPasswords_ibfk_1` FOREIGN KEY (`clientId`) REFERENCES `oidcClients` (`id`))
    

    I uninstalled SOgo and Vault without this problem occurring, so it seems limited to some apps.

    As requested, I ran cloudron-support --troubleshoot:

    Vendor: QEMU Product: Standard PC (i440FX + PIIX, 1996)
    Linux: 6.8.0-101-generic
    Ubuntu: noble 24.04
    Execution environment: kvm
    Processor: AMD EPYC Processor (with IBPB)
    BIOS pc-i440fx-9.0  CPU @ 2.0GHz x 4
    RAM: 8131800KB
    Disk: /dev/sda1       122G
    [OK]    node version is correct
    [OK]    IPv6 is enabled and public IPv6 address is working
    [OK]    docker is running
    [OK]    docker version is correct
    [OK]    MySQL is running
    [OK]    netplan is good
    [OK]    DNS is resolving via systemd-resolved
    [OK]    unbound is running
    [OK]    nginx is running
    [OK]    dashboard cert is valid
    [OK]    dashboard is reachable via loopback
    [FAIL]  Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
            Please run 'cloudron-support --apply-db-migrations' to apply the migrations.
    [OK]    Service 'mysql' is running and healthy
    [OK]    Service 'postgresql' is running and healthy
    [OK]    Service 'mongodb' is running and healthy
    [OK]    Service 'mail' is running and healthy
    [OK]    Service 'graphite' is running and healthy
    [OK]    Service 'sftp' is running and healthy
    [OK]    box v9.1.0 is running
    [OK]    Dashboard is reachable via domain name
    [OK]    Domain [REMOVED] is valid and has not expired
    

    Seeing the database migrations warning, I used the --apply-db-migrations argument but got repeated errors about collectd:

    Applying pending database migrations
    2026-02-26T04:21:56 ==> start: Cloudron Start
    media:x:500:
    2026-02-26T04:21:56 ==> start: Configuring docker
    Synchronizing state of apparmor.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install enable apparmor
    2026-02-26T04:21:58 ==> start: Ensuring directories
    2026-02-26T04:21:58 ==> start: Configuring journald
    2026-02-26T04:21:59 ==> start: Setting up unbound
    2026-02-26T04:21:59 ==> start: Adding systemd services
    Synchronizing state of unbound.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install enable unbound
    Synchronizing state of cron.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install enable cron
    Synchronizing state of rpcbind.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install disable rpcbind
    2026-02-26T04:22:09 ==> start: Configuring sudoers
    2026-02-26T04:22:09 ==> start: Unconfiguring collectd
    Failed to disable unit: Unit file collectd.service does not exist.
    Failed to stop collectd.service: Unit collectd.service not loaded.
    2026-02-26T04:22:09 ==> start: Configuring logrotate
    2026-02-26T04:22:09 ==> start: Adding motd message for admins
    2026-02-26T04:22:09 ==> start: Configuring nginx
    2026-02-26T04:22:10 ==> start: Starting mysql
    mysqladmin: [Warning] Using a password on the command line interface can be insecure.
    Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
    mysql: [Warning] Using a password on the command line interface can be insecure.
    mysql: [Warning] Using a password on the command line interface can be insecure.
    2026-02-26T04:22:10 ==> start: Migrating data
    [INFO] No migrations to run
    [INFO] Done
    2026-02-26T04:22:11 ==> start: Changing ownership
    2026-02-26T04:22:11 ==> start: Starting cloudron-syslog
    2026-02-26T04:22:11 ==> start: Starting Cloudron
    2026-02-26T04:22:13 ==> start: Almost done
    [OK]    Database migrations applied successfully
    

    Checking the box.log, I didn't see anything relevant except for the recurring notice that the apps are unresponsive (makes sense): 2026-02-26T04:22:40.152Z box:apphealthmonitor app health: 5 running / 0 stopped / 2 unresponsive

    From searching the forums, I found:

    • This post with a similar SQL error to mine, but the problem was fixed a while ago
    • This post says collectd was removed, so that makes sense why it doesn't startup, it's not installed.

    I think I have one problem (the uninstall process fails) and one bug report (the DB migration attempts to start a service that [I think?] isn't used anymore, and thus fails).

    For reference, Cloudron is installed on a fresh Ubuntu 24.04 VPS, there wasn't an existing Cloudron (or any or any other applications).

    Thanks a ton for your time and help! Really appreciate the hard work that goes into Cloudron; it's helped me for years! Take care.

    Support

  • bootstrap3 theme broken after recent update
    D droidforensics

    Hi @girish, sorry to resurrect an 18-month old thread but I thought it might be better than making a brand new thread.

    I'm experiencing the same issue with the latest version of Dokuwiki. I think it might be an issue with the bundled PHP version?

    Here's how the problem manifests using the Cloudron-packaged Dokuwiki:

    6b01f2d1-75df-4dac-8700-e243e549ba17-CleanShot 2024-12-30 at 14.33.43@2x.png

    That results in this error logs:

    Dec 30 14:33:18 [Mon Dec 30 21:33:18.755569 2024] [php:error] [pid 79] [client 172.18.0.1:32850] PHP Fatal error: Uncaught Error: Undefined constant "DOKU_INC" in /app/data/templates/bootstrap3/css.php:84\nStack trace:\n#0 {main}\n thrown in /app/data/templates/bootstrap3/css.php on line 84, referer: https://[REMOVED]/lib/exe/css.php?t=bootstrap3&tseed=a3c69f60143e699ab115489e1785128d
    

    However, when I install DokuWiki by hand using the LAMP stack app from Cloudron, the error doesn't present itself.

    The PHP versions seem to be off: 8.3.14 (LAMP, working) vs 8.1.2 (DokuWiki package, not working).

    The LAMP:

    8b5a0d6e-2044-4f80-931c-d0cc04b8350e-CleanShot 2024-12-30 at 14.37.43@2x.png

    The DokuWiki:

    93e86ab5-fc5c-471b-9666-db6eb96ab81c-CleanShot 2024-12-30 at 14.38.47@2x.png

    For testing purposes, would it help if I somehow manually updated the Cloudron-packaged Dokuwiki's PHP version to see if that changes things? I'd have to research doing that, but I'm happy to give it a try for learning's sake. 🙂

    Thanks for all you do!

    Dokuwiki
  • Login

  • Don't have an account? Register

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