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. Mastodon
  3. Slow Startup due to chown'ing all data

Slow Startup due to chown'ing all data

Scheduled Pinned Locked Moved Solved Mastodon
7 Posts 3 Posters 1.1k Views 3 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.
  • N Offline
    N Offline
    nomadgeek
    wrote on last edited by
    #1

    Cloudron seems to chown all files every Mastodon starts up. This is terrible for a Mastodon server with all of the media uploads. Please add a way to skip this step. A simple memory adjustment leads to a 30 minute downtime while it loops recursively though all of the files.

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      The latest package removes those cache files more eagerly, so this should already help quite a bit.

      N 1 Reply Last reply
      1
      • subvenS Offline
        subvenS Offline
        subven
        wrote on last edited by
        #3

        Going through the startup script is a necessary evil to ensure that all apps work accordingly. If you depend on your service having a high uptime, you need to do (and announce) planned maintenances. Altering the configuration or startup process would be a source of user error and Cloudron is built for simplicity and ease of use. So yeah it's not ideal in the case of Mastodon but bearable.

        1 Reply Last reply
        0
        • nebulonN nebulon

          The latest package removes those cache files more eagerly, so this should already help quite a bit.

          N Offline
          N Offline
          nomadgeek
          wrote on last edited by
          #4

          @nebulon noted. I haven't updated to your latest package yet but I'll probably do that later tonight.

          I still vote for a "I know what I'm doing, don't chown the files" check mark.

          N 1 Reply Last reply
          2
          • N nomadgeek

            @nebulon noted. I haven't updated to your latest package yet but I'll probably do that later tonight.

            I still vote for a "I know what I'm doing, don't chown the files" check mark.

            N Offline
            N Offline
            nomadgeek
            wrote on last edited by
            #5

            @nomadgeek I'm going to probably move the Mastodon instance into Kubernetes in the long run anyway. I used Cloudron to get started quickly and see if people were interested in even having the service before I put a lot of cash and work into setting up a more robust and complicated configuration.

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #6

              Is this still an issue with the latest cache purging?

              N 1 Reply Last reply
              0
              • nebulonN nebulon marked this topic as a question on
              • girishG girish has marked this topic as solved on
              • nebulonN nebulon

                Is this still an issue with the latest cache purging?

                N Offline
                N Offline
                nomadgeek
                wrote on last edited by
                #7

                @nebulon It was still a problem until the most recent update. Server reboot was super quick! Thanks!

                1 Reply Last reply
                1
                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