After the failure and headaches after the update from buster to bullseye, I was dreading the day when the new one would start. My reluctance to let this moment come was totally justified: nothing worked after it. The only way I can connect to freedombox is with an HDMI cable. There is no other connection, no ssh, no localhost, nothing. So support team, what are we doing now?
It is late for me now and I need to go to sleep, so Iâll be brief now.
Iâd suggest checking the status of update (see if it completed), whether services are running and whether the firewall is dropping packets. I have somehow explained how I did that in my posts, if that is not understandable enough, Iâll try explaining more. At least, I can help solving the problems I had if you have the same.
Sorry, but Iâm not very familiar with terminal commands. I can only transcribe such. I donât know how to check if the firewall drops packets. I tried the commands you posted in another thread and it doesnât work. Every time I try to update, upgrade or dist-upgrade I get multiple error lines: "Could not resolve âdeb.debian.orgâ ". As I already mentioned above, I have no other connection than a cable to a monitor and a keyboard connected directly to the server.
I tried, even after the first command I get multiple lines of errors. I canât read because they change very quickly and I have no idea how to get the lines back to see them, but I think most of them are related to the one in the picture Iâm attaching.
Address resolution fails.
I can think of the following way to check whether it is because of the firewall:
- run âsudo su -â
- run ânano /etc/firewalld/firewalld.confâ
- there is a line âLogDenied=offâ, change it to âLogDenied=allâ, write (Ctrl+O) and exit (Ctrl+X)
- run âsystemctl restart firewalld.serviceâ
- run âjournalctl --unit=firewalld.service -f &â (the command continues running even though you have a prompt)
- run âping deb.debian.orgâ
If you see some lines with âkernelâ and âREJECTâ, this means the firewall is the problem. If you donât see any, it isnât the firewall. To interrupt the last command, do Ctrl+C. To go back to the journalctl command, enter âfgâ (it means foreground), then Ctrl-C. Then re-edit /etc/firewalld/firewalld.conf" to set LogDenied to its original value (off). Then exit to exit the root shell.
If it is the firewall, I hope others can help because yesterday is the first time in my life that I tried looking at the firewall.
Thanks for the reply. I wrote all the commands. I upload a photo with the result. Again there is no connection with deb.debian.org
So the firewall is not the problem.
What does âping 8.8.8.8â give? and âIp aâ?
âping 8.8.8.8â gives âping: connect: Network is unreachableâ, and âIp aâ - bash Ip: command not found
Sorry, I mistyped, I meant âip aâ (not âlpâ). Your network interface seems completely non-functional for some reason, âip aâ should say how it is configured.
Now after an attempt for restoring the system from a snapshot, already everything is non-functional. I will start from scratch again. Thank you for your time and effort to help me.
I hope your reinstallation goes well.
When the services on my Freedombox were not working after the upgrade, I was in big stress of not being able to receive and send emails and XMPP messages on the accounts hosted on my Freedombox.
When I found the solution of the firewall, I was about to attempt restoring from a snapshot and if that failed to reinstall. However, there can be circumstances in which I donât have the time or physical possiblity to do that and this makes me think that it is a problem to rely on my Freedombox for somehow essential things.
It would be nice to be able to run a second Freedombox in order to maintain essential things available in case of failre but I need to think how to do. One issue I can think of is renewal of Letâs encrypt certificates, that would require to redirect HTTP traffic to the âbackup boxâ before renewal and back to the âmain boxâ after. Perhaps a new feature to suggest?
My FreedomBox is down at the moment and had the same idea come to me. If one could two working in tandem, one could still be up while the other is performing the upgrade process. Iâm on my second day without my FreedomBox and I can feel its absence. Iâm still hoping that it will complete the update on its own.
Hello, I am new in the forum, donât speak very goog english. My problem is that the webaccout, the synchronisation with radicale and shaarli donât work. I can access via SSH and I see that 12 updates could not be installed automatically. I can ping succsessfull my PC or my cellphone. What can I do to make work again all? Thank you for your help.
- check whether /boot is full. If it is full, remove the oldest kernel package (lowest number)
- run sudo apt update, sudo apt upgrade and, if some packgages are still not updated, sudo apt full-upgrade
- check /etc/firewalld/firewalld.conf, if there is âDefaultZone=publicâ, change it to âDefaultZone=externalâ, save the file and run âsudo systemctl restart firewalld.serviceâ
- try again webaccess
thank you!
I waited five days for the Debian 12 upgrade to complete, the web interface didnât come up on its own, it gave Bad Gateway error.
your solution worked!
"check /etc/firewalld/firewalld.conf, if there is âDefaultZone=publicâ, change it to âDefaultZone=externalâ, save the file and run âsudo systemctl restart firewalld.serviceâ
this has worked for me many times when I have met âCould not resolve deb.debian.orgâ
Thank you! I tried it, but it didnât work for me. I just made a fresh installation.
Thank you!
After doing what Avron suggested (a post before you), your advice made my freedombox finally reachable again. Thanks.