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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. OpenWebUI
  3. Understanding file permissions and ownership - Need Help - OpenWebUI error

Understanding file permissions and ownership - Need Help - OpenWebUI error

Scheduled Pinned Locked Moved OpenWebUI
openwebuipermissions
2 Posts 2 Posters 369 Views 2 Watching
  • 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.
    • J Offline
      J Offline
      jagan
      wrote on last edited by jagan
      #1

      Hi, I am not a great Linux user and have always had issues understanding file permissions and ownership. I know CHMOD 777 and stuff, but don't really know how to troubleshoot things like Symlinks, etc.

      When move the data directory to a storage drive, the following line appears:

      The destination file system must support file permissions and ownership for the move to work

      Now, I have no idea how to check the permissions and ownership. I see that there are four possible owners of folders and files:

      • Root
      • www-data
      • yellowtent
      • cloudron
      • git

      The folders in my storage drive are owned by www-data, cloudron and root. I have no idea which is the correct owner.

      Could any of you please be so kind to explain this. I had read the documentation but I am failing to grasp the concept.

      I also read the part about 'Media' in https://docs.cloudron.io/volumes/#sharing
      I tested the ownership of media, here is the output:

      root@my ~ # touch $MOUNT_DIR/test-file
      root@my ~ # ls -l $MOUNT_DIR/test-file
      -rw-r--r-- 1 root root 0 Jun 22 12:55 /test-file
      root@my ~ #

      clearly As seen above, a newly created file DOES NOT HAVE the correct permissions for access by media group automatically.

      What must I do?


      OpenWebUI Error after last update

      Related to this is the following error that I am getting after the last upgrade to 2.2.5

      Set NLTK_DIR env var

      My installation is now non-responsive and here are the pertinent logs:

      Jun 22 18:11:02 mkdir: cannot create directory '/media/ollama-vol': Read-only file system

      I experimented a lot trying to poke around, changing stuff, etc, but no luck.
      I tried using the 'mount' - I read about it in the documentation, didn't understand the concept fully, but added it, went in into the file directory and tried changing permissions and ownership, no avail.

      I have no idea if this is related to the permissions and ownership, but strongly suspect so, and my lack of expertise is hindering me.

      Any help would be great, if possible, some ELI5 how I can avoid this in the future.

      Thank you and have a great day!

      1 Reply Last reply
      0
      • girishG girish marked this topic as a question on
      • girishG girish moved this topic from Support on
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        Dup of https://forum.cloudron.io/topic/11988/openwebui-permissions-issue-after-last-2-2-5-update-cannot-create-directory-media-ollama-vol

        1 Reply Last reply
        0
        • girishG girish marked this topic as a regular topic on
        • girishG girish locked this topic on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


          • Login

          • Don't have an account? Register

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