[GH-ISSUE #420] [BUG] Crash upon startup on Raspberry Pi with Docker #281

Closed
opened 2026-02-25 20:35:19 +03:00 by kerem · 1 comment
Owner

Originally created by @arunsathiya on GitHub (Sep 7, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/420

Describe the bug

I am following the manual instructions on my Raspberry Pi with Docker. Upon running the docker run command, the container stops. In checking the logs, I see this fatal Python error:

Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Current thread 0xb6f27010 (most recent call first):
<no Python frame>

To Reproduce

docker pull benbusby/whoogle-search
docker run --publish 5000:5000 --detach --name whoogle-search benbusby/whoogle-search:latest

Once all of this is done, the container would be stopped and we can see that using docker ps -a:

pi@raspberrypi:~ $ docker ps -a
CONTAINER ID   IMAGE                            COMMAND                  CREATED         STATUS                     PORTS     NAMES
769211c65389   benbusby/whoogle-search:latest   "/bin/sh -c 'misc/to…"   4 minutes ago   Exited (1) 4 minutes ago             whoogle-search

Python fatal error seen when checking logs:

pi@raspberrypi:~ $ docker logs whoogle-search
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Current thread 0xb6f27010 (most recent call first):
<no Python frame>

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: [describe setup]

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version [version number]
  • Not sure
Originally created by @arunsathiya on GitHub (Sep 7, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/420 **Describe the bug** I am following the manual instructions on my Raspberry Pi with Docker. Upon running the `docker run` command, the container stops. In checking the logs, I see this fatal Python error: ``` Fatal Python error: pyinit_main: can't initialize time Python runtime state: core initialized PermissionError: [Errno 1] Operation not permitted Current thread 0xb6f27010 (most recent call first): <no Python frame> ``` **To Reproduce** - Setup a Raspberry Pi on your local network. - Follow the manual process here which involves Docker: https://github.com/benbusby/whoogle-search#g-manual-docker - In my case, I ran the Docker Hub commands: ``` docker pull benbusby/whoogle-search docker run --publish 5000:5000 --detach --name whoogle-search benbusby/whoogle-search:latest ``` Once all of this is done, the container would be stopped and we can see that using `docker ps -a`: ``` pi@raspberrypi:~ $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 769211c65389 benbusby/whoogle-search:latest "/bin/sh -c 'misc/to…" 4 minutes ago Exited (1) 4 minutes ago whoogle-search ``` Python fatal error seen when checking logs: ``` pi@raspberrypi:~ $ docker logs whoogle-search Fatal Python error: pyinit_main: can't initialize time Python runtime state: core initialized PermissionError: [Errno 1] Operation not permitted Current thread 0xb6f27010 (most recent call first): <no Python frame> ``` **Deployment Method** - [ ] Heroku (one-click deploy) - [x] Docker - [ ] `run` executable - [ ] pip/pipx - [ ] Other: [describe setup] **Version of Whoogle Search** - [x] Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc) - [ ] Version [version number] - [ ] Not sure
kerem 2026-02-25 20:35:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@arunsathiya commented on GitHub (Sep 7, 2021):

Seems to be an issue with my Raspberry Pi image. Updated a dependency using the instructions here:

https://github.com/linuxserver/docker-papermerge/issues/4#issuecomment-735236388

That helped. Whoogle works okay now, closing.

<!-- gh-comment-id:914547346 --> @arunsathiya commented on GitHub (Sep 7, 2021): Seems to be an issue with my Raspberry Pi image. Updated a dependency using the instructions here: https://github.com/linuxserver/docker-papermerge/issues/4#issuecomment-735236388 That helped. Whoogle works okay now, closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#281
No description provided.