From 249c5fa83d40b1301c624f11f0541840affe2150 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 23 Jun 2022 10:25:07 +0200 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 48 ++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index b0e62cc..a2c07cf 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -1,27 +1,8 @@ -## How to get a log - -### Docker log +## How to get a docker log If you're running changedetection.io from the docker, it's as simple as calling this command: `docker logs changedetection.io &> logs.txt` - -## Workaround for 'pyinit_main: can't initialize time' error on Raspberry Pi - -When using or installing changedetection.io at the Raspberry Pi device, you can experience these errors: -- `docker-compose top` or `docker top changedetection.io` do return: - ``` - Error response from daemon: Container {CONTAINER_ID} is restarting, wait until the container is running - ``` -- `docker logs changedetection.io &> logs.txt` produces logs with the following error: - ``` - pyinit_main: can't initialize time - ``` - -As per https://github.com/linuxserver/docker-papermerge/issues/4, run these commands to workaround this problem: -`wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb` -`sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb` - ## No Notifications Make sure you're not sending too long messages, as some notification targets do have message length limitations. (See https://github.com/dgtlmoon/changedetection.io/wiki/Notification-configuration-notes ) @@ -55,4 +36,29 @@ services:       hostname: changedetection       volumes:         - changedetection-data:/datastore -``` \ No newline at end of file +``` + +# Raspberry Pi specific + +## packages required when installing from PIP + +``` +apt-get install libxslt1 -y +``` + +## Workaround for 'pyinit_main: can't initialize time' error on Raspberry Pi + +When using or installing changedetection.io at the Raspberry Pi device, you can experience these errors: +- `docker-compose top` or `docker top changedetection.io` do return: + ``` + Error response from daemon: Container {CONTAINER_ID} is restarting, wait until the container is running + ``` +- `docker logs changedetection.io &> logs.txt` produces logs with the following error: + ``` + pyinit_main: can't initialize time + ``` + +As per https://github.com/linuxserver/docker-papermerge/issues/4, run these commands to workaround this problem: +`wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb` +`sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb` +