Author Topic: *Solved* 503 service unavailable after LXC upgrad to Debian 11  (Read 636 times)

spicer

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • ltspiceusers.ch
Hi
After upgrading the (Proxmox) LXC from Debian 10 to Debian 11, I only get "503 service unavailable" on EHCP and Xenforo.
I have no idea where the problem could be.
Has anyone a idea or had this problem themselves?
To keep up productivity, I restored the Debian 10 container again.
So the Debian 11 container is currently not running anymore.
« Last Edit: September 15, 2023, 10:14:06 pm by spicer »
Translator for german EHCPforce

spicer

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • ltspiceusers.ch
Re: 503 service unavailable after LXC upgrad to Debian 11
« Reply #1 on: July 22, 2022, 08:12:53 pm »
Solution (note in german). This is for a LXC container (Proxmox):

Backup ehcp (alles auswählen!!!!!)
crontabs backupen
home Verzeichnis backupen
(ev auch Mail Konfigurationen (postfix/main.cf usw)....)
Printscreen der netzwerk einstellungen des CT machen (in Proxmox Host)
CT backuppen
CT löschen
Neue CT mit Debian 11 Template erstellen (mit gleicher ID wie vorher)
MAC wieder anpassen (in Netzwerk Einstellungen > siehe den Printscreen)
/etc/ssh/sshd_config > permit_root_login = yes
SSH Port hier auch anpassen
apt update
apt upgrade

root PW anpassen wie früher (mit: passwd root)
reboot oder service ssh restart durchführen.
ehcp installieren
ehcp Backup restoren (das dauert!....keine Info dazu sehbar)

Das Forum sollte jetzt wieder funktionieren.



Google translator:

Backup ehcp (select all!!!!!)
backup crontabs
backup home directory
(possibly also mail configurations (postfix/main.cf etc.)....)
Make a print screen of the network settings of the CT (in Proxmox Host)
Backup CT
Delete CT
Create new CT with Debian 11 template (same ID as before)
Adjust MAC again (in network settings > see the print screen)
/etc/ssh/sshd_config > permit_root_login = yes
Adjust the SSH port here as well
apt update
apt upgrade

Customize root PW like before (with: passwd root)
reboot or service ssh restart.
install ehcp
Restore ehcp backup (this takes time!....no information visible)
« Last Edit: September 15, 2023, 10:19:07 pm by spicer »
Translator for german EHCPforce

earnolmartin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 304
    • View Profile
Re: *solved* 503 service unavailable after LXC upgrad to Debian 11
« Reply #2 on: August 06, 2022, 04:11:29 pm »
Weird, but I'm glad you got it working.  Sometimes, it is easiest to migrate EHCP over to a fresh installation of EHCP on another server running a newer OS, which is what it sounds like you ended up doing.