[GH-ISSUE #1136] [unable to start] <errno 13 Permission denied: whoogle.key> #693

Closed
opened 2026-02-25 20:36:19 +03:00 by kerem · 0 comments
Owner

Originally created by @laoistom on GitHub (Apr 8, 2024).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1136

Describe the bug
After a server reboot whoogle refuses to start. Docker logs indicate a permissions issue for the file whoogle.key which to the best of my knowledge has never been present in my deployment.

To Reproduce
Steps to reproduce the behavior:

  1. Running Ubuntu 22.04 (latest patches as of Monday 8th April 2024)
  2. Run Whoogle:latest in Docker using Docker-compose
  3. reboot server.
  4. See error

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)
  • benbusby/whoogle-search latest 2348c4b7a1b0 4 weeks ago 136MB
  • Not sure

Desktop (please complete the following information):

  • OS: [Windows 11]
  • Browser [e.g. chrome]
  • Version [Version 123.0.6312.106 (Official Build) (64-bit)]

Additional context
Creating whoogle ... done
Running on http://0.0.0.0:5000
Apr 08 12:11:07.001 [notice] Tor 0.4.6.9 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1w, Zlib 1.2.12, Liblzma 5.2.5, Libzstd 1.5.0 and Unknown N/A as libc.
Apr 08 12:11:07.001 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Apr 08 12:11:07.001 [notice] Read configuration file "/etc/tor/torrc".
Apr 08 12:11:07.006 [notice] Opening Socks listener on 127.0.0.1:9050
Apr 08 12:11:07.006 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
Apr 08 12:11:07.006 [notice] Opening Control listener on 127.0.0.1:9051
Apr 08 12:11:07.006 [notice] Opened Control listener connection (ready) on 127.0.0.1:9051
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/whoogle/app/init.py", line 107, in
with open(app_key_path, 'w') as key_file:
^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/config/whoogle.key'

Originally created by @laoistom on GitHub (Apr 8, 2024). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1136 **Describe the bug** After a server reboot whoogle refuses to start. Docker logs indicate a permissions issue for the file whoogle.key which to the best of my knowledge has never been present in my deployment. **To Reproduce** Steps to reproduce the behavior: 1. Running Ubuntu 22.04 (latest patches as of Monday 8th April 2024) 2. Run Whoogle:latest in Docker using Docker-compose 3. reboot server. 4. See error **Deployment Method** - [ ] Heroku (one-click deploy) - [X] Docker - [ ] `run` executable - [ ] pip/pipx - [ ] Other: [describe setup] **Version of Whoogle Search** - [ ] Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc) - [X] benbusby/whoogle-search latest 2348c4b7a1b0 4 weeks ago 136MB - [ ] Not sure **Desktop (please complete the following information):** - OS: [Windows 11] - Browser [e.g. chrome] - Version [Version 123.0.6312.106 (Official Build) (64-bit)] **Additional context** Creating whoogle ... done Running on http://0.0.0.0:5000 Apr 08 12:11:07.001 [notice] Tor 0.4.6.9 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1w, Zlib 1.2.12, Liblzma 5.2.5, Libzstd 1.5.0 and Unknown N/A as libc. Apr 08 12:11:07.001 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Apr 08 12:11:07.001 [notice] Read configuration file "/etc/tor/torrc". Apr 08 12:11:07.006 [notice] Opening Socks listener on 127.0.0.1:9050 Apr 08 12:11:07.006 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050 Apr 08 12:11:07.006 [notice] Opening Control listener on 127.0.0.1:9051 Apr 08 12:11:07.006 [notice] Opened Control listener connection (ready) on 127.0.0.1:9051 Traceback (most recent call last): File "<frozen runpy>", line 189, in _run_module_as_main File "<frozen runpy>", line 148, in _get_module_details File "<frozen runpy>", line 112, in _get_module_details File "/whoogle/app/__init__.py", line 107, in <module> with open(app_key_path, 'w') as key_file: ^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/config/whoogle.key'
kerem 2026-02-25 20:36:19 +03:00
  • closed this issue
  • added the
    bug
    label
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#693
No description provided.