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. Valheim
  3. Autorestart ?

Autorestart ?

Scheduled Pinned Locked Moved Valheim
19 Posts 5 Posters 3.4k Views 6 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.
  • robiR robi

    @brutalbirdie then break it down by parts.. send out a notification to all players then after a shell timer expires, send out another shutdown message, and after short shell timer you restart.

    BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie
    Partner
    wrote on last edited by
    #10

    @robi said in Autorestart ?:

    @brutalbirdie then break it down by parts.. send out a notification to all players then after a shell timer expires, send out another shutdown message, and after short shell timer you restart.

    There is also no way to send messages from the server 😄

    Like my work? Consider donating a drink. Cheers!

    K 1 Reply Last reply
    0
    • BrutalBirdieB BrutalBirdie

      @robi said in Autorestart ?:

      @brutalbirdie then break it down by parts.. send out a notification to all players then after a shell timer expires, send out another shutdown message, and after short shell timer you restart.

      There is also no way to send messages from the server 😄

      K Offline
      K Offline
      Krashdeez 0
      wrote on last edited by
      #11

      @brutalbirdie you can send a broadcast message, to server when umod is installed.

      BrutalBirdieB 1 Reply Last reply
      0
      • K Krashdeez 0

        @brutalbirdie you can send a broadcast message, to server when umod is installed.

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #12

        @krashdeez-0 said in Autorestart ?:

        @brutalbirdie you can send a broadcast message, to server when umod is installed.

        Yes but since a modded Valheim server is not default this is no viable option.

        Like my work? Consider donating a drink. Cheers!

        K 1 Reply Last reply
        0
        • BrutalBirdieB BrutalBirdie

          @krashdeez-0 said in Autorestart ?:

          @brutalbirdie you can send a broadcast message, to server when umod is installed.

          Yes but since a modded Valheim server is not default this is no viable option.

          K Offline
          K Offline
          Krashdeez 0
          wrote on last edited by
          #13

          @brutalbirdie

          I understand what you mean, however umod has the advantage of the users who connect, do not need to install an extra version updates etc.. works with the normal "vanilla" version it would be configured here also the "autorestart", but that does not work.

          On a 2nd server outside of my "main" server and cloudron I have a test server running and there are things installed like itemremover, gloablchat and broadcaster that run without problems, next I will install the bandwidth optimizer.

          I personally know too little about docker and so I can not write myself a simple "restart script", it does not have to be more, just a line restart, every xx h or at a fixed time.

          BrutalBirdieB 2 Replies Last reply
          0
          • K Krashdeez 0

            @brutalbirdie

            I understand what you mean, however umod has the advantage of the users who connect, do not need to install an extra version updates etc.. works with the normal "vanilla" version it would be configured here also the "autorestart", but that does not work.

            On a 2nd server outside of my "main" server and cloudron I have a test server running and there are things installed like itemremover, gloablchat and broadcaster that run without problems, next I will install the bandwidth optimizer.

            I personally know too little about docker and so I can not write myself a simple "restart script", it does not have to be more, just a line restart, every xx h or at a fixed time.

            BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by BrutalBirdie
            #14

            @krashdeez-0

            Oh I thought umod was a mod for Valheim but it looks like umod is an alternative to BepInEx. Is that correct?

            Because right now I integrated support for BepInEx since it was the first platform to support mods for Valheim.

            Sorry then umod is of the table right now, since I did not integrate that into the app.

            Like my work? Consider donating a drink. Cheers!

            1 Reply Last reply
            0
            • K Krashdeez 0

              @brutalbirdie

              I understand what you mean, however umod has the advantage of the users who connect, do not need to install an extra version updates etc.. works with the normal "vanilla" version it would be configured here also the "autorestart", but that does not work.

              On a 2nd server outside of my "main" server and cloudron I have a test server running and there are things installed like itemremover, gloablchat and broadcaster that run without problems, next I will install the bandwidth optimizer.

              I personally know too little about docker and so I can not write myself a simple "restart script", it does not have to be more, just a line restart, every xx h or at a fixed time.

              BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by
              #15

              @krashdeez-0
              Did you even know the Cloudron App Supports mods?

              Post Install - Post Update
              Updated Parameters
              
              After updates (see changelog) new parameters could have been added.
              
              Please check the /app/code/.env file and compare it to your /app/data/.env file and add missing lines.
              Mod Support
              
              If MODSUPPORT is enabled all files and folders from /app/data/mods/ will by synced to /run/vhserver-steam/.
              
              Place your Mod *.dll files in /app/data/mods/BepInEx/plugins/ and the Mod Config files in /app/data/mods/BepInEx/config/
              Mod Example ValheimPlus
              
              The UnixServer.zip of ValheimPlus has the same folder structure which cold be extracted into /app/data/mods/ but this would also overwrite the cloudron auto installed version of BepInEx.
              
              If you make a mistake here, don't worry.
              
              Simply clear the /app/data/mods/ folder and it will be recreated after a app restart.
              

              Like my work? Consider donating a drink. Cheers!

              K 1 Reply Last reply
              0
              • BrutalBirdieB BrutalBirdie

                @krashdeez-0
                Did you even know the Cloudron App Supports mods?

                Post Install - Post Update
                Updated Parameters
                
                After updates (see changelog) new parameters could have been added.
                
                Please check the /app/code/.env file and compare it to your /app/data/.env file and add missing lines.
                Mod Support
                
                If MODSUPPORT is enabled all files and folders from /app/data/mods/ will by synced to /run/vhserver-steam/.
                
                Place your Mod *.dll files in /app/data/mods/BepInEx/plugins/ and the Mod Config files in /app/data/mods/BepInEx/config/
                Mod Example ValheimPlus
                
                The UnixServer.zip of ValheimPlus has the same folder structure which cold be extracted into /app/data/mods/ but this would also overwrite the cloudron auto installed version of BepInEx.
                
                If you make a mistake here, don't worry.
                
                Simply clear the /app/data/mods/ folder and it will be recreated after a app restart.
                
                K Offline
                K Offline
                Krashdeez 0
                wrote on last edited by
                #16

                @brutalbirdie yes i know that addons are supported, i have also tested it,
                but then i found umod and there was an "autorestart", Broadcast and Itemremover , and i thought jeah fits then vallheim hald just come to another server - never mind.

                The fact is that an autorestart doesn't work there either and that's why, as at the start, my request for an autorestart button at "Apprestart" that can be set so that the whole Docker instance is restarted at xx:xx.

                please don't take this as an attack or anything but this is fact.

                BrutalBirdieB 1 Reply Last reply
                0
                • K Krashdeez 0

                  @brutalbirdie yes i know that addons are supported, i have also tested it,
                  but then i found umod and there was an "autorestart", Broadcast and Itemremover , and i thought jeah fits then vallheim hald just come to another server - never mind.

                  The fact is that an autorestart doesn't work there either and that's why, as at the start, my request for an autorestart button at "Apprestart" that can be set so that the whole Docker instance is restarted at xx:xx.

                  please don't take this as an attack or anything but this is fact.

                  BrutalBirdieB Offline
                  BrutalBirdieB Offline
                  BrutalBirdie
                  Partner
                  wrote on last edited by BrutalBirdie
                  #17

                  @krashdeez-0 said in Autorestart ?:

                  please don't take this as an attack or anything but this is fact.

                  Nah not at all I was simple wrapping my head around the issue. All good mate.

                  I always had this in mind when it comes to autorestart a server.
                  If you need to auto restart a server every X time otherwise the performance drops, is just ridiculous.
                  I know it has to be done in many cases but common for real? The devs could do a better work then 😄


                  Ok so right now there is no feature for cloudron to schedule app restarts.
                  If this would be possible inside the app, hmm maybe.
                  I will have to look into it.

                  Like my work? Consider donating a drink. Cheers!

                  nebulonN 1 Reply Last reply
                  0
                  • BrutalBirdieB BrutalBirdie

                    @krashdeez-0 said in Autorestart ?:

                    please don't take this as an attack or anything but this is fact.

                    Nah not at all I was simple wrapping my head around the issue. All good mate.

                    I always had this in mind when it comes to autorestart a server.
                    If you need to auto restart a server every X time otherwise the performance drops, is just ridiculous.
                    I know it has to be done in many cases but common for real? The devs could do a better work then 😄


                    Ok so right now there is no feature for cloudron to schedule app restarts.
                    If this would be possible inside the app, hmm maybe.
                    I will have to look into it.

                    nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #18

                    @brutalbirdie one option would be to have a cron task which instructs supervisor to restart the valheim server. If restarting on a fixed schedule is the way forward.

                    K 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      @brutalbirdie one option would be to have a cron task which instructs supervisor to restart the valheim server. If restarting on a fixed schedule is the way forward.

                      K Offline
                      K Offline
                      Krashdeez 0
                      wrote on last edited by
                      #19

                      @nebulon @brutalbirdie Thank you for the effort though 🙂 I thought an option for the docker container would be the best or easiest way 😄

                      It is after all still an early access game 😉 and runs but still more stable than some other games / mods, I can still remember Arma2 Dayz mod, there you had to restart the server, otherwise it was just more horrible after 5 hours of play, because just too many objects that could not be unloaded were present.

                      but definitely many thanks 🙂

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