How to upgrade from Ubuntu 18

Tried doing a do-release-upgrade on Ubuntu 18

Expected Behaviour:

It works

Actual Behaviour:

It didn't. DNS would not start

I have reset to the old snapshot so I cannot give a log file.

As I mentioned, I tried going to Ubuntu 20 but that broke pi-hole. DNS would not start. I tried removing /etc/dnsmasq.d/lxd but no dice.

After I reverted to the snapshot, I tried updating pihole with pihole -up but that said Ubuntu 18 was not supported.

So my question is how do I proceed? I believe pihole can be made to ignore the OS constraint. I could try that before upgrading the OS.

Or I could perhaps export and import the config in a clean install?

What is the best way of getting to the latest Ubuntu and pihole at this point?

pihole -v gives me this, byt the way:

pihole -v
fatal: detected dubious ownership in repository at '/etc/.pihole'
To add an exception for this directory, call:

    git config --global --add safe.directory /etc/.pihole

Pi-hole version is ERROR (Latest: v5.16.2)
fatal: detected dubious ownership in repository at '/var/www/html/admin'
To add an exception for this directory, call:

    git config --global --add safe.directory /var/www/html/admin

AdminLTE version is ERROR (Latest: v5.19)
FTL version is v5.16.1 (Latest: v5.22)

  • On the old installation, use the teleporter function to create a backup of your config (save the backup file).
  • Install (fresh install) the new Operating System;
  • Install Pi-hole on the new system;
  • Restore the config using teleporter function.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.