Proxmox Pihole CT, Umzug oder Neuinstallation?

hansstramm

Lt. Commander
Registriert
Jan. 2014
Beiträge
1.624
Moin Freunde,
mir ist aufgefallen, dass mein proxmox Ubuntu Container für Pihole keine Updates mehr bekommt.
Sudo apt update bringt eine Fehlermeldung.
Kann man irgendwie den Container auf eine neuere Ubuntu Version hoch ziehen?
Oder sollte ich lieber neu aufsetzen?


Mfg
 
Dann versuchen wir zu erraten, welche Ubuntu Version du aktuell drauf hast. ;)

LXC?
VM?
...

1..2..3..

Warum ist es so schwer mal solche Infos nicht gleich zu schreiben?
 
  • Gefällt mir
Reaktionen: TechX, NJay, hansstramm und eine weitere Person
Proxmox Version: Virtual Environment 7.4-16
Es handelt sich um einen CT.
Ubuntu Version:
Code:
root@pPihole:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.10
Release:        22.10
Codename:       kinetic

Fehlercode:
Code:
root@pPihole:~# apt update
Ign:1 http://archive.ubuntu.com/ubuntu kinetic InRelease
Ign:2 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu kinetic-security InRelease
Err:4 http://archive.ubuntu.com/ubuntu kinetic Release
  404  Not Found [IP: 185.125.190.39 80]
Err:5 http://archive.ubuntu.com/ubuntu kinetic-updates Release
  404  Not Found [IP: 185.125.190.39 80]
Err:6 http://archive.ubuntu.com/ubuntu kinetic-security Release
  404  Not Found [IP: 185.125.190.39 80]
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@pPihole:~#

🙂
 
infos wären nett container proxmox sollte llxc sein und der upgrade befehl sieht anders aus, ich schau mal ob ich den finde.
Ergänzung ()

Azghul0815 schrieb:
Deine Ubuntu Version wird nicht mehr supported.
Kannst ein
Do-release-upgrade
Versuchen
genau das ist wohl der weg.
 
  • Gefällt mir
Reaktionen: hansstramm und Azghul0815
hier bei bing gefunden suchbegriffe: proxmox lxc ubuntu container upgrade

englsih:
# go into the container lxc exec <container> bash # set PasswordAuthentication yes here vim /etc/ssh/sshd_config # restart containers ssh service ssh restart # set a pw of the default ubuntu user passwd ubuntu # exit container and get the container IP lxc info <container> # connect to it via ssh ssh ubuntu@<ip> # run do-release-upgrade as you want do-release-upgrade

deutsche übersetzung via
Gehen Sie in den Container lxc exec <container> bash # setzen Sie PasswordAuthentication yes here vim /etc/ssh/sshd_config # starten Sie Container neu ssh service ssh restart # setzen Sie eine PW des Standard-Ubuntu-Benutzers passwd ubuntu # beenden Sie den Container und holen Sie sich die IP-Adresse des Containers lxc info # <container> verbinden Sie sich mit ihm über ssh ssh ubuntu@ # führen Sie do-release-upgrade<ip> wie gewünscht aus do-release-upgrade
 
  • Gefällt mir
Reaktionen: Azghul0815 und hansstramm
Kann ich über einen Befehl auch auf die LTS hoch oder muss ich dafür neu aufsetzten?=)
 
Code:
root@pPihole:~# do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife


= Welcome to Ubuntu 23.10 'Mantic Minotaur' =

The Ubuntu team is proud to announce Ubuntu 23.10 'Mantic Minotaur'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/ManticMinotaur/ReleaseNotes

Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.

We hope you enjoy Ubuntu.

== Feedback and Helping ==

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

  http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever.  If you feel
that you have found a bug please read:

  http://help.ubuntu.com/community/ReportingBugs

Then report bugs using apport in Ubuntu.  For example:

  ubuntu-bug linux

will open a bug report in Launchpad regarding the linux package.

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC
channels on Libera.Chat, on the Ubuntu Users mailing list, or on the
Ubuntu forums:

  http://help.ubuntu.com/community/InternetRelayChat
  http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
  http://www.ubuntuforums.org/


== More Information ==

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

  http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

  http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce


Continue [yN] y
Get:1 Upgrade tool signature [833 B]                                                                                                                               
Get:2 Upgrade tool [1267 kB]                                                                                                                                       
Fetched 1268 kB in 0s (0 B/s)                                                                                                                                     
authenticate 'mantic.tar.gz' against 'mantic.tar.gz.gpg'
extracting 'mantic.tar.gz'

Reading cache

Checking package manager

Can not upgrade

An upgrade from 'kinetic' to 'mantic' is not supported with this
tool.
Azghul0815 schrieb:
Meines Wissens nach, müsstest du den nru machen.
Proxmox könnte auch ein Update vertragen.
Ich will ja nicht schon wieder fragen, aber wie mache ich das? 😅
 
clone denn betreffenden container und versuche es mal so:

To upgrade your Proxmox LXC container running Ubuntu 23.10 to 23.04, follow these steps:

  1. Access the Container: Log in to your Proxmox host and access the LXC container you want to upgrade.
  2. Update Existing Packages:
    • Run the following command inside the container to ensure all available updates are installed:
      sudo apt update
      sudo apt upgrade
  3. Update Release Information:
    • Edit the /etc/update-manager/release-upgrades file using a text editor (such as nano or vim):
      sudo nano /etc/update-manager/release-upgrades

    • Change the value of Prompt to normal:
      Prompt=normal

    • Save the file and exit the text editor.
  4. Upgrade to Ubuntu 23.04:
    • Run the following command to initiate the upgrade process:
      sudo do-release-upgrade

    • Follow the prompts and instructions during the upgrade process.
    • Once the upgrade to 23.04 is complete, reboot the container.
 
  • Gefällt mir
Reaktionen: hansstramm
Na ja, meine Nextcloud würde ich ungern neu machen, das hat ewig gedauert alles richtig einzustellen 😅 .
Pi Hole neu machen ist allerdings kein Problem 🙂.
 
Die NC ist "Offline", Zugriff von außen erfolgt nur über WireGuard 🤓.
 
  • Gefällt mir
Reaktionen: Azghul0815
versuche es mit einem klon um dann mal zu testen ob von deiner version 22.10 auf 22.04 kommst, dann hast die lts variante, danah solltest von 22.04 auch auf 23.04 springen können, vorteil wenn der klon stirbt hast ja das original um es neu zu klonen.
 
  • Gefällt mir
Reaktionen: redjack1000, madmax2010 und hansstramm
Zurück
Oben