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

    Solved Slow Startup due to chown'ing all data

    Mastodon
    3
    7
    147
    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.
    • N
      nomadgeek last edited by

      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 Reply Quote 1
      • nebulon
        nebulon Staff last edited by

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

        N 1 Reply Last reply Reply Quote 1
        • subven
          subven last edited by

          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 Reply Quote 0
          • N
            nomadgeek @nebulon last edited by

            @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 Reply Quote 2
            • N
              nomadgeek @nomadgeek last edited by

              @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 Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                Is this still an issue with the latest cache purging?

                N 1 Reply Last reply Reply Quote 0
                • Topic has been marked as a question  nebulon nebulon 
                • Topic has been marked as solved  girish girish 
                • N
                  nomadgeek @nebulon last edited by

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

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