Updated Troubleshooting (markdown)

master
dgtlmoon 2022-06-23 10:25:07 +02:00
rodzic 871821eb9a
commit 249c5fa83d
1 zmienionych plików z 27 dodań i 21 usunięć

@ -1,27 +1,8 @@
## How to get a log ## How to get a docker log
### Docker log
If you're running changedetection.io from the docker, it's as simple as calling this command: If you're running changedetection.io from the docker, it's as simple as calling this command:
`docker logs changedetection.io &> logs.txt` `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 ## 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 ) 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 )
@ -56,3 +37,28 @@ services:
      volumes:       volumes:
        - changedetection-data:/datastore         - changedetection-data:/datastore
``` ```
# 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`