problem: Overnight (when DHCP refreshed) the PI4 disappears from the network. There is not reply to /octopi in browser, it's IP addressin browser, SSH or IP scanner.
What did you already try to solve it? Tested with the methods above. I have observed this behavior from time to time with other Pi running other versions of raspian but never with Octopi. Fix is usually running:
#!/bin/bash
sudo ifconfig wlan0 down
sudo ifconfig wlan0 up
sudo service networking restart
Logs: unsure how to get syslog without GUI
Additional information: Raspberry PI 4 running lasted release candidate of Octopi. Installed from image.
Sadly (and oddly) that did not help. The log entries showed that there was never an inability to ping 8.8.8.8 yet this morning Octopi was unreachable by Browser or SSH.
Sadly, I have not found a fix for this problem. I have switched back to my PI B+. Since around 2017 many people have reported this problem or minor variations on it. It is devilishly difficult to reproduce. If anyone has a good idea, I can hook the PI 4 back up again.