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

    Uploads not going to mounted storage location

    Rocket.Chat
    upload images filesystem
    2
    4
    151
    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.
    • ajtatum
      ajtatum last edited by

      I have a volume, "vultr" mounted and, for example, with custom emojies I have "/media/vultr/rocketchat_assets/emojies".

      The path to that is /mnt/blockstorage/rocketchat_assets/emojies and exists. It's mounted as a "mountpoint" in Cloudron and is Vultr's Block Storage which is mounted to the VM.

      Now, if I go to custom emjoies and upload an emoji, I'd expect it in that directory... however, nothing appears in the directory but does show up online.

      This is across the board for all upload options... I have it pointed to /media/vultr/rocketchat_assets/*.

      I'm also tried entering "/mnt/blockstorage/rocketchat_assets" in RocketChat and that didn't do anything. And for all the options, the Storage Type "File System" is selected.

      I'm not sure what I'm doing wrong as I don't have this issue with other apps, so was curious if anyone here has any ideas or input...

      Thanks,
      AJ

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @ajtatum last edited by

        @ajtatum I could reproduce this but even without volumes.

        I set a custom path for emojis.

        cbbf36be-74e4-458b-9a97-4b8d076b9308-image.png

        Then, uploaded some custom emojis. I can use them in the chat but they don't appear in the above folder. This probably has to be reported upstream.

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

          Oh, I restarted the app and the emojis disappear in the chat (gets replaced by a '?').

          So, then I reupload another custom emoji and it appears in the filesystem!

          It seems that after you set Emoji to filesystem storage, you have to restart rocket.chat and things work after that.

          ajtatum 1 Reply Last reply Reply Quote 1
          • ajtatum
            ajtatum @girish last edited by

            @girish I missed this response! Thanks! I'll give it another go! Thank you!

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