After restart my RaspberryPi 2 (OHab 2.3) I cannot access “Openhab Log Viewer” anymore (http://openhabianpi:9001/). The error displayed in the webpage:
ERR_CONNECTION_REFUSED.
I tried to restart several times (also: sudo systemctl restart openhab2.service) without any success.
Try clearing the cache and tmp files with sudo systemctl stop openhab2.service then sudo openhab-cli clean-cache and sudo systemctl start openhab2.service
sudo nano creates a file. Move to the directory and see whats there. Use cd /var/lib/openhab2/etc hit enter then type ls to see everything in the directory. To view the file use cat org.ops4j.pax.logging.cfg
Make one using sudo openhab-cli backup and move that file to your PC or somewhere other than OH. The backup zip will be in /var/lib/openhab2/backups directory.