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. Support
  3. Upgrading from Ubuntu 20.04 to 22.04 and get errors..

Upgrading from Ubuntu 20.04 to 22.04 and get errors..

Scheduled Pinned Locked Moved Unsolved Support
ubuntuupgrades
6 Posts 4 Posters 25 Views 4 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.
  • swheeler78S Offline
    swheeler78S Offline
    swheeler78
    wrote last edited by james
    #1

    I was on Ubuntu 20.04 and went thru the upgrade to 22.04.
    When I finished I ran dpkg --configure -a as instructed in the howto. Now I can't upgrade to 24.04 due to the following errors.

    Setting up libnginx-mod-http-dav-ext (1.18.0-6ubuntu14.7) ...
    ln: failed to create symbolic link '/etc/nginx/modules-enabled/50-mod-http-dav-ext.conf': No such file or directory
    dpkg: error processing package libnginx-mod-http-dav-ext (--configure):
     installed libnginx-mod-http-dav-ext package post-installation script subprocess returned error exit status 1
    Setting up libnginx-mod-http-upstream-fair (1.18.0-6ubuntu14.7) ...
    ln: failed to create symbolic link '/etc/nginx/modules-enabled/50-mod-http-upstream-fair.conf': No such file or directory
    dpkg: error processing package libnginx-mod-http-upstream-fair (--configure):
     installed libnginx-mod-http-upstream-fair package post-installation script subprocess returned error exit status 1
    dpkg: dependency problems prevent configuration of nginx-full:
     nginx-full depends on libnginx-mod-http-dav-ext; however:
      Package libnginx-mod-http-dav-ext is not configured yet.
     nginx-full depends on libnginx-mod-http-upstream-fair; however:
      Package libnginx-mod-http-upstream-fair is not configured yet.
    
    dpkg: error processing package nginx-full (--configure):
     dependency problems - leaving unconfigured
    Setting up libnginx-mod-http-auth-pam (1.18.0-6ubuntu14.7) ...
    ln: failed to create symbolic link '/etc/nginx/modules-enabled/50-mod-http-auth-pam.conf': No such file or directory
    dpkg: error processing package libnginx-mod-http-auth-pam (--configure):
     installed libnginx-mod-http-auth-pam package post-installation script subprocess returned error exit status 1
    Setting up libnginx-mod-http-echo (1.18.0-6ubuntu14.7) ...
    ln: failed to create symbolic link '/etc/nginx/modules-enabled/50-mod-http-echo.conf': No such file or directory
    dpkg: error processing package libnginx-mod-http-echo (--configure):
    root@vultr:~# /home/yellowtent/box/scripts/init-ubuntu.shtallation script subprocess returned error exit status 1ectoryry
    

    Any help would be appreciated.

    1 Reply Last reply
    1
    • SansGuidonS Offline
      SansGuidonS Offline
      SansGuidon
      wrote last edited by
      #2

      My 2 cents, I never upgraded the same VM with Cloudron running on it, I just bootstraped a new VM with a fresh upgraded Ubuntu and migrated Cloudron to it ^^ , which allows me to test safely.

      Reason: too many topics about problematic Ubuntu upgrades that break things or Cloudron

      About me / Now

      jdaviescoatesJ 1 Reply Last reply
      3
      • jamesJ Online
        jamesJ Online
        james
        Staff
        wrote last edited by
        #3

        Hello @swheeler78
        I think I've seen something like this before.
        Since on Cloudron servers /etc/nginx/ does not "exist" as a real folder but is a symlink to /etc/nginx -> /home/yellowtent/platformdata/nginx I've seen it happen that for some reason the symlink gets removed and a real /etc/nginx/ folder gets created.
        You can simply start the box.service once and stop it again, then /etc/nginx should be a symlink again and the dpkg --configure -a should work.

        1 Reply Last reply
        1
        • SansGuidonS SansGuidon

          My 2 cents, I never upgraded the same VM with Cloudron running on it, I just bootstraped a new VM with a fresh upgraded Ubuntu and migrated Cloudron to it ^^ , which allows me to test safely.

          Reason: too many topics about problematic Ubuntu upgrades that break things or Cloudron

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote last edited by
          #4

          @SansGuidon said in Upgrading from Ubuntu 20.04 to 22.04 and get errors..:

          My 2 cents, I never upgraded the same VM with Cloudron running on it, I just bootstraped a new VM with a fresh upgraded Ubuntu and migrated Cloudron to it ^^ , which allows me to test safely.

          Reason: too many topics about problematic Ubuntu upgrades that break things or Cloudron

          Yeah, that's mostly what I've always done too. Not sure what I'll do next now that I'm on a dedicated server though...

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          0
          • jamesJ Online
            jamesJ Online
            james
            Staff
            wrote last edited by
            #5

            Hello @SansGuidon and @jdaviescoates
            That is indeed the most reliable / safest approach.
            I have upgraded many Cloudron Ubuntu's with the provided guides and rarely ran into issues.
            But when something comes up, like this case, a somewhat deeper understanding of Cloudron is valuable to resolve it.


            @jdaviescoates If you upgrade your Ubuntu version on your dedicated server with the provided guides, would you be willing to document your process in a forum topic?
            If anything is unclear, questionable or breaks having this documented process of yours would be a great help to further improve the guides.

            jdaviescoatesJ 1 Reply Last reply
            1
            • jamesJ james

              Hello @SansGuidon and @jdaviescoates
              That is indeed the most reliable / safest approach.
              I have upgraded many Cloudron Ubuntu's with the provided guides and rarely ran into issues.
              But when something comes up, like this case, a somewhat deeper understanding of Cloudron is valuable to resolve it.


              @jdaviescoates If you upgrade your Ubuntu version on your dedicated server with the provided guides, would you be willing to document your process in a forum topic?
              If anything is unclear, questionable or breaks having this documented process of yours would be a great help to further improve the guides.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote last edited by
              #6

              @james should that day come, sure!

              I use Cloudron with Gandi & Hetzner

              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