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

    Not able to write on mounted volume

    Calibre Web
    3
    8
    339
    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 tried to use a mounted volume to keep the Cloudron installation itself slim, but as soon as I move the sqlite db and ebooks to that volume and adjust the path in calibre, it says DB is not Writeable.

      This is easily reproducable, if you jump on a terminal and try to write anything on the mount as the cloudron-user (which also runs the app), you get a permission denied, if you do the same as root, it works. How would I go about to give the mount write permission for the cloudron user?

      1 Reply Last reply Reply Quote 0
      • murgero
        murgero App Dev last edited by

        Are you able to just chown the mount dir or does that error out in a read-only fs?

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        M 1 Reply Last reply Reply Quote 1
        • M
          msbt App Dev @murgero last edited by

          @murgero no, have already tried that, but the owner isn't changeable

          root@xxx:/media# ls -la
          total 8
          drwxr-xr-x 1 root root 4096 Dec  7 20:57 .
          drwxr-xr-x 1 root root 4096 Dec  7 20:57 ..
          drwxr-xr-x 2 1001 1001    0 Dec  8 08:52 Ebook
          
          jdaviescoates 1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @msbt last edited by

            @msbt I think I had something similar but in my case was ablr to fix by changing ownership of relevant folders files using the File Manager for the Volume.

            I use Cloudron with Gandi & Hetzner

            M 1 Reply Last reply Reply Quote 0
            • M
              msbt App Dev @jdaviescoates last edited by

              @jdaviescoates ah I didn't know you could access the volumes via the filemanager. I however am getting a 404 when trying to open that up, like GET https://my.cloudron.com/api/v1/volumes/id/files/ [HTTP/2 404 Not Found 192ms]

              jdaviescoates 1 Reply Last reply Reply Quote 0
              • jdaviescoates
                jdaviescoates @msbt last edited by jdaviescoates

                @msbt I've only ever done it via the GUI in by clicking on the little folder icons in Volumes

                Screenshot_20211209-181239_Firefox.png

                I use Cloudron with Gandi & Hetzner

                M 1 Reply Last reply Reply Quote 0
                • M
                  msbt App Dev @jdaviescoates last edited by

                  @jdaviescoates and this works for you? Also getting the same 404 error when I click the folder icon

                  jdaviescoates 1 Reply Last reply Reply Quote 0
                  • jdaviescoates
                    jdaviescoates @msbt last edited by

                    @msbt yes, clicking on those icons works for me

                    I use Cloudron with Gandi & Hetzner

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