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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Redis crashes when adding/removing volumes in a stopped app

    Support
    redis volumes hetzner sshfs
    2
    2
    112
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      msbt App Dev last edited by

      I have a server with 2 Nextcloud instances that use Hetzner Storageboxes as storage backend and until today, the directory was mounted manually via fuse.sshfs in /etc/fstab. Since every restart ended up with a lost race condition which made me manually remove empty directories and remount the storagebox, I wanted to use the built-in SSHFS Volumes to get this done.

      So I added the server, stopped Nextcloud, changed the path to the data dir in the config.php and wanted to add the newly created Volumes. While reconfiguring it threw the message An error occurred during the create container operation: Inactive: Error getting IP of redis-xxx-id service and went into an erronous state. I had to go to Services / Redis and restart the corresponding redis service and hit retry in the Repair tab - after that the Volume was added successfully. I could easily reproduce the issue with the second Nextcloud instance, so either adding or removing Volumes in a stopped app made redis crash, maybe something to check out for consistency.

      Apparently I still have to manually hit the remount Volume button after a restart to get it online, but that beats sshing into the box and rm empty directories 😉

      1 Reply Last reply Reply Quote 1
      • girish
        girish Staff last edited by

        Ah, thanks for reporting. I have opened https://git.cloudron.io/cloudron/box/-/issues/808 internally .

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Powered by NodeBB