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
  • Brite
  • 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. Discuss
  3. for people with ubuntu 20.04 that need to upgrade

for people with ubuntu 20.04 that need to upgrade

Scheduled Pinned Locked Moved Discuss
16 Posts 3 Posters 132 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.
  • A Offline
    A Offline
    AartJansen
    wrote last edited by
    #1

    Is there a cloudron guide ?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      p44
      translator
      wrote last edited by p44
      #2
      • Upgrading to Ubuntu 22.04 (Jammy Jellyfish): https://docs.cloudron.io/guides/upgrade-ubuntu-22/
      • Upgrading to Ubuntu 24.04 (Noble Numbat): https://docs.cloudron.io/guides/upgrade-ubuntu-24/

      If you're on 20.04, first you've to upgrade to 22.04, then to 24.04 in two different steps.

      1 Reply Last reply
      2
      • A Offline
        A Offline
        AartJansen
        wrote last edited by
        #3

        Oh wow... it takes forever. I could have restored to a fresh install of ubuntu quicker than this upgrade.(20-22)

        P 1 Reply Last reply
        1
        • A AartJansen

          Oh wow... it takes forever. I could have restored to a fresh install of ubuntu quicker than this upgrade.(20-22)

          P Offline
          P Offline
          p44
          translator
          wrote last edited by
          #4

          @AartJansen This could be another option...

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AartJansen
            wrote last edited by
            #5

            Yeah its been 9 hours, all cloudron services are down, and all I have to show for it is a screen full of .......
            No idea how much longer its going to take. Really unimpressed with this upgrade process.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote last edited by
              #6

              Usually ubuntu upgade takes < 1 hour . So, something is off/stuck. Where is it stuck? Where does .... appear?

              1 Reply Last reply
              1
              • A Offline
                A Offline
                AartJansen
                wrote last edited by
                #7

                recreating addon containers

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  joseph
                  Staff
                  wrote last edited by
                  #8

                  Oh, this is the Cloudron recreate containers? You can just reboot the server and it will try to get unstuck (hopefully). After reboot, can you check the logs at /home/yellowtent/platformdata/logs/box.log ?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AartJansen
                    wrote last edited by AartJansen
                    #9
                    2025-08-18T02:41:20.005Z box:cron BoxError: connect ECONNREFUSED 127.0.0.1:3306
                        at Query.queryCallback [as _callback] (/home/yellowtent/box/src/database.js:93:38)
                        at Sequence.end (/home/yellowtent/box/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
                        at /home/yellowtent/box/node_modules/mysql/lib/Pool.js:205:13
                        at Handshake.onConnect (/home/yellowtent/box/node_modules/mysql/lib/Pool.js:58:9)
                        at Handshake.<anonymous> (/home/yellowtent/box/node_modules/mysql/lib/Connection.js:526:10)
                        at Handshake._callback (/home/yellowtent/box/node_modules/mysql/lib/Connection.js:488:16)
                        at Sequence.end (/home/yellowtent/box/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
                        at Protocol.handleNetworkError (/home/yellowtent/box/node_modules/mysql/lib/protocol/Protocol.js:369:14)
                        at Connection._handleNetworkError (/home/yellowtent/box/node_modules/mysql/lib/Connection.js:418:18)
                        at Socket.emit (node:events:519:28)
                    

                    Just get that over and over, and the console saying its offline after reboot.
                    Oh and the lat entries

                    2025-08-18T02:51:52.226Z box:platform uninitializing platform
                    2025-08-18T02:51:52.228Z box:platform onDeactivated: stopping post activation services
                    2025-08-18T02:51:52.229Z box:tasks stopAllTasks: stopping all tasks
                    2025-08-18T02:51:52.229Z box:shell tasks /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
                    2025-08-18T02:51:52.249Z box:shell logs: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/logtail.sh --lines=100 --follow /home/yellowtent/platformdata/logs/fb7aa282-5eb1-49ac-b77e-a864d1ef0202/apptask.log /home/yellowtent/platformdata/logs/fb7aa282-5eb1-49ac-b77e-a864d1ef0202/app.log terminated
                    2025-08-18T02:51:52.366Z box:shell All tasks stopped
                    
                    2025-08-18T02:51:52.369Z box:directoryserver stopping server
                    
                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      joseph
                      Staff
                      wrote last edited by
                      #10

                      @AartJansen mysql server is not running. Can you check systemctl status mysql ? In old ubuntu upgrades, mysql 8 has to be removed (https://docs.cloudron.io/guides/upgrade-ubuntu-20/#post-upgrade) . Can you check if mysql package is installed as well?

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        AartJansen
                        wrote last edited by
                        #11

                        I got it going again, with the cloudron-support --troubleshoot command
                        Thanks

                        1 Reply Last reply
                        1
                        • A Offline
                          A Offline
                          AartJansen
                          wrote last edited by
                          #12
                          aart@cloudron:/home/yellowtent/platformdata/logs$ systemctl status mysql
                          ā— mysql.service - MySQL Community Server
                               Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
                               Active: active (running) since Mon 2025-08-18 09:51:50 UTC; 45min ago
                              Process: 876 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
                             Main PID: 1010 (mysqld)
                               Status: "Server is operational"
                                Tasks: 43 (limit: 38208)
                               Memory: 303.1M
                                  CPU: 14.762s
                               CGroup: /system.slice/mysql.service
                                       └─1010 /usr/sbin/mysqld
                          
                          Notice: journal has been rotated since unit was started, output may be incomplete.
                          

                          How do I know what version it is?

                          J 1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            AartJansen
                            wrote last edited by
                            #13

                            All my apps say configuring (queued) šŸ˜ž

                            J 1 Reply Last reply
                            1
                            • A AartJansen
                              aart@cloudron:/home/yellowtent/platformdata/logs$ systemctl status mysql
                              ā— mysql.service - MySQL Community Server
                                   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
                                   Active: active (running) since Mon 2025-08-18 09:51:50 UTC; 45min ago
                                  Process: 876 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
                                 Main PID: 1010 (mysqld)
                                   Status: "Server is operational"
                                    Tasks: 43 (limit: 38208)
                                   Memory: 303.1M
                                      CPU: 14.762s
                                   CGroup: /system.slice/mysql.service
                                           └─1010 /usr/sbin/mysqld
                              
                              Notice: journal has been rotated since unit was started, output may be incomplete.
                              

                              How do I know what version it is?

                              J Offline
                              J Offline
                              joseph
                              Staff
                              wrote last edited by
                              #14

                              @AartJansen said in for people with ubuntu 20.04 that need to upgrade:

                              Process: 876 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
                              

                              I think the mysql exited. Can you try systemctl restart mysql ? If that command worked, then do systemctl restart box and check that log file again.

                              I guess mysql --version gives the version .

                              1 Reply Last reply
                              0
                              • A AartJansen

                                All my apps say configuring (queued) šŸ˜ž

                                J Offline
                                J Offline
                                joseph
                                Staff
                                wrote last edited by
                                #15

                                @AartJansen said in for people with ubuntu 20.04 that need to upgrade:

                                All my apps say configuring (queued) šŸ˜ž

                                This is correct, it will recreate all the app containers in a little bit. Check the log file, you will see it is rebuilding the addons.

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  AartJansen
                                  wrote last edited by
                                  #16

                                  Oh, I just rebooted it again, and it seems to be all services / apps are running.
                                  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