-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to update to 24.04 from 22.04 #1615
Comments
Sorry to hear that, but an upgrade is unsupported as described in the Breaking Changes of the Release Notes for 24.04. |
alrighty then - didn't see that one my bad |
Closing |
I know the issue is now stale, but I found a workaround for this. It basically requires removing old T-Pot installation, upgrading Debian to bookworm and reinstalling, but in case you cannot reinstall the entire unit by itself, it might come in handy. Perform everything but the last step as root. 1. Stop T-Pot and cleanup after yourself systemctl disable --now tpot
docker system prune --all --volumes 2. Remove T-Pot Installation
3. Perform daemon reload systemctl daemon-reload 4. Clean up your crontab nano /etc/crontab Remove everything added by T-Pot. 5. Remove your Docker installation systemctl disable --now docker
apt purge docker.io docker-compose docker-doc podman-docker containerd runc
rm -rf /var/lib/docker 6. Upgrade Debian to Bookworm 7. Redeploy T-Pot I hope I didn't miss anything. Let me know if I did. |
Ask T-Pot Assistant
Successfully raise an issue
Before you post your issue make sure it has not been answered yet and provide⚠️ BASIC SUPPORT INFORMATION (as requested below) if you come to the conclusion it is a new issue.
root
)We happily take the time to improve T-Pot and take care of things, but we need you to take the time to create an issue that provides us with all the information we need.
lsb_release -a
anduname -a
?No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
22.04 trying to update but the instructions changed and do not apply to my instance. The updater doesnt work because i have to run it as a user, but it cant go past the docker sockets and now im in limbo
Removing old docker images.
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/json?filters=%7B%22reference%22%3A%7B%22dtagdevsec%2F%2A%3Adev%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied
Removing old docker images.
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/json?filters=%7B%22reference%22%3A%7B%22ghcr.io%2Ftelekom-security%2F%2A%3Adev%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied
-VM
~/install_tpot.log
, attach the log and highlight the errors.DOES NOT EXIST!
It's been up for a while with no issues, i was able to upgrade from 20.04 to 22.04 no problem and running the updater now seems to have broken it and i am not able to run dps.sh - tpotce doesnt exist on the system so all your new instructions dont make sense its all in /opt/tpot.
trying to
no
htop
anddocker stats
.df -h
)?Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 2.4M 1.6G 1% /run
/dev/sdb2 87G 34G 49G 41% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 295G 88G 194G 32% /data
tmpfs 1.6G 0 1.6G 0% /run/user/1000
dps
)?see above
systemctl status tpot
)?● tpot.service - tpot
Loaded: loaded (/etc/systemd/system/tpot.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2024-07-09 15:07:57 EDT; 4s ago
Process: 221205 ExecStartPre=/opt/tpot/bin/updateip.sh (code=exited, status=0/SUCCESS)
Process: 221206 ExecStartPre=/bin/bash -c /opt/tpot/bin/clean.sh on (code=exited, status=127)
Process: 221207 ExecStartPre=/opt/tpot/bin/tpdclean.sh -y (code=exited, status=203/EXEC)
Process: 221208 ExecStopPost=/opt/tpot/bin/rules.sh /opt/tpot/etc/tpot.yml unset (code=exited, status=203/EXEC)
CPU: 8ms
am i going to be forced to reinstall to be able to upgrade as my instance now is 100% broken.
The text was updated successfully, but these errors were encountered: