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. Support
  3. n8n / Platform Services not starting since v7.7.1 upgrade

n8n / Platform Services not starting since v7.7.1 upgrade

Scheduled Pinned Locked Moved Solved Support
platformupgrade
26 Posts 3 Posters 3.4k 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #10

    @rosano is it possible that you had changed the ssh port away from 22 to maybe 202 for example?

    rosanoR 1 Reply Last reply
    0
    • girishG girish

      @rosano if you run swapon on the server, it should tell you if it has any swap at all.

      rosanoR Offline
      rosanoR Offline
      rosano
      wrote on last edited by
      #11

      @girish got in via the web console. swapon finishes with no output.

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

        Ok so no swap file exists, probably causing the issue. Can you run /home/yellowtent/box/setup/start/cloudron-resize-fs.sh with sudo via SSH? This should ensure a swap file

        rosanoR 1 Reply Last reply
        0
        • nebulonN nebulon

          Ok so no swap file exists, probably causing the issue. Can you run /home/yellowtent/box/setup/start/cloudron-resize-fs.sh with sudo via SSH? This should ensure a swap file

          rosanoR Offline
          rosanoR Offline
          rosano
          wrote on last edited by
          #13

          @nebulon it says:

          Swap file already exists at /apps.swap . Skipping
          
          1 Reply Last reply
          0
          • nebulonN nebulon

            @rosano is it possible that you had changed the ssh port away from 22 to maybe 202 for example?

            rosanoR Offline
            rosanoR Offline
            rosano
            wrote on last edited by
            #14

            @nebulon I checked via sudo grep Port /etc/ssh/sshd_config and it says Port 22.

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

              so something went wrong with that swap file then. Try to remove that file and run the script again, that should rebuild swap

              rosanoR 2 Replies Last reply
              0
              • nebulonN nebulon

                so something went wrong with that swap file then. Try to remove that file and run the script again, that should rebuild swap

                rosanoR Offline
                rosanoR Offline
                rosano
                wrote on last edited by rosano
                #16

                swapoff seemed to not do anything, but sudo rm /apps.swap did and I was able to run the script which seemed to be successful. After reboot via the Cloudron console and also power cycle on Hetzner, I'm still in the same place: 8 apps Running, 1 app stuck on Restarting, 3 apps stuck on Stopping, timeout when connecting via ssh.

                girishG 1 Reply Last reply
                0
                • rosanoR rosano

                  swapoff seemed to not do anything, but sudo rm /apps.swap did and I was able to run the script which seemed to be successful. After reboot via the Cloudron console and also power cycle on Hetzner, I'm still in the same place: 8 apps Running, 1 app stuck on Restarting, 3 apps stuck on Stopping, timeout when connecting via ssh.

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #17

                  @rosano under Services, is everything running? Or is mail container stuck in the same way as before?

                  rosanoR 1 Reply Last reply
                  0
                  • girishG girish

                    @rosano under Services, is everything running? Or is mail container stuck in the same way as before?

                    rosanoR Offline
                    rosanoR Offline
                    rosano
                    wrote on last edited by
                    #18

                    @girish mail is stopped, clicking restart shows the same error as my initial post. might have to do with argument "NaN" for "-m, --memory" flag: invalid size: 'NaN'?

                    girishG 1 Reply Last reply
                    0
                    • rosanoR rosano

                      @girish mail is stopped, clicking restart shows the same error as my initial post. might have to do with argument "NaN" for "-m, --memory" flag: invalid size: 'NaN'?

                      girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by
                      #19

                      @rosano ok, I think NaN is some cloudron bug that we have to debug further. But before we can debug that, we have to get SSH access somehow. Did you figure out the root password ? It seems you ran sudo grep Port /etc/ssh/sshd_config , so I guess you had root password, somehow?

                      rosanoR 1 Reply Last reply
                      0
                      • girishG girish

                        @rosano ok, I think NaN is some cloudron bug that we have to debug further. But before we can debug that, we have to get SSH access somehow. Did you figure out the root password ? It seems you ran sudo grep Port /etc/ssh/sshd_config , so I guess you had root password, somehow?

                        rosanoR Offline
                        rosanoR Offline
                        rosano
                        wrote on last edited by
                        #20

                        @girish I was able to reset via Hetzner console yes, but I ran everything through their 'web console' not SSH. Would you able to use this root password from your end?

                        1 Reply Last reply
                        0
                        • girishG Do not disturb
                          girishG Do not disturb
                          girish
                          Staff
                          wrote on last edited by
                          #21

                          @rosano yes, please can you drop a mail to support@cloudron.io , I can debug why this is happenning now.

                          rosanoR 1 Reply Last reply
                          0
                          • girishG girish marked this topic as a question on
                          • girishG girish

                            @rosano yes, please can you drop a mail to support@cloudron.io , I can debug why this is happenning now.

                            rosanoR Offline
                            rosanoR Offline
                            rosano
                            wrote on last edited by
                            #22

                            @girish sent, number 18901.

                            1 Reply Last reply
                            0
                            • rosanoR Offline
                              rosanoR Offline
                              rosano
                              wrote on last edited by rosano
                              #23

                              still working via support, but just want to note that ssh doesn't time out when replacing the IP address with the cloudron domain:

                              ssh root@my.example.com
                              
                              1 Reply Last reply
                              0
                              • rosanoR rosano

                                @nebulon I checked via sudo grep Port /etc/ssh/sshd_config and it says Port 22.

                                rosanoR Offline
                                rosanoR Offline
                                rosano
                                wrote on last edited by
                                #24

                                @rosano I might have misread #Port 22 as Port 22 as it seems to have been commented out (not sure how/why). Uncommenting and rebooting enables ssh login via ip address again. Computers are hard 😵

                                1 Reply Last reply
                                1
                                • nebulonN nebulon

                                  so something went wrong with that swap file then. Try to remove that file and run the script again, that should rebuild swap

                                  rosanoR Offline
                                  rosanoR Offline
                                  rosano
                                  wrote on last edited by
                                  #25

                                  @nebulon seems also that the swap file was commented out in /etc/fstab (again not sure why/how) so it doesn't persist across restarts, and I guess the script you posted wouldn't affect this.

                                  # /apps.swap  none  swap  sw  0 0
                                  

                                  After uncommenting and reboot now, there seems to be a swap file via swapon:

                                  /apps.swap file 3.7G 1.8M   -2
                                  

                                  And all apps are running / stopped as expected, nothing hanging 👍🏽 thanks for your patience and help 🙏🏽.

                                  I wonder what about this could have to do with the latest Cloudron update as I didn't touch anything in the last days and everything seemed to be fine.

                                  1 Reply Last reply
                                  1
                                  • rosanoR rosano has marked this topic as solved on
                                  • girishG Do not disturb
                                    girishG Do not disturb
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #26

                                    There is a bug in Cloudron that it parses swap info incorrectly when there are no swaps in the system. This is fixed in https://git.cloudron.io/cloudron/box/-/commit/b66e77a2d8930381c95153b041d7c3edd331364a

                                    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