mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 20:25:51 +03:00
[GH-ISSUE #375] Docker-compose deployment error when running container: PermissionError: [Errno 13] Permission denied: #250
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jzt308 on GitHub (Jul 11, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/375
Hi all,
this morning i noticed that my private whoogle deployment stopped. I didn't change anything and am running the latest version (see compose file). I tried to run it on a different server (Debian stable with latest docker and docker-compose installed) where no previous images where deployed but no joy. Same error. I tried disabling the tmpfs section in my compose file but this makes no difference.
Before posting I searched for this issue but had no luck finding it so I'm hoping you can help.
OS: Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Docker-compose: docker-compose version 1.29.2, build 5becea4c
Docker: Server: Docker Engine - Community
Engine: Version: 20.10.7
Error:
today at 11:18 Jul 11 09:18:13.777 [notice] Tor 0.3.5.15 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8.
today at 11:18 Jul 11 09:18:13.777 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
today at 11:18 Jul 11 09:18:13.777 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
today at 11:18 Jul 11 09:18:13.777 [notice] Read configuration file "/etc/tor/torrc".
today at 11:18 Jul 11 09:18:13.789 [warn] Error setting groups to gid 102: "Operation not permitted".
today at 11:18 Jul 11 09:18:13.789 [warn] If you set the "User" option, you must start Tor as root.
today at 11:18 Jul 11 09:18:13.789 [warn] Failed to parse/validate config: Problem with User value. See logs for details.
today at 11:18 Jul 11 09:18:13.789 [err] Reading config failed--see warnings above.
today at 11:18 Traceback (most recent call last):
today at 11:18 File "/usr/local/lib/python3.8/runpy.py", line 185, in _run_module_as_main
today at 11:18 mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
today at 11:18 File "/usr/local/lib/python3.8/runpy.py", line 144, in _get_module_details
today at 11:18 return _get_module_details(pkg_main_name, error)
today at 11:18 File "/usr/local/lib/python3.8/runpy.py", line 111, in _get_module_details
today at 11:18 import(pkg_name)
today at 11:18 File "/whoogle/app/init.py", line 84, in
today at 11:18 os.makedirs(app.config['SESSION_FILE_DIR'])
today at 11:18 File "/usr/local/lib/python3.8/os.py", line 223, in makedirs
today at 11:18 mkdir(name, mode)
today at 11:18 PermissionError: [Errno 13] Permission denied: '/config/session'
Docker-compose:
version: '3.8'
services:
whoogle-search:
image: benbusby/whoogle-search
container_name: whoogle-search
restart: unless-stopped
@bruvv commented on GitHub (Jul 11, 2021):
make sure the PGUD and PUID have the correct write permission for
/config/@jzt308 commented on GitHub (Jul 11, 2021):
Maybe I don't understand. I am not specifying a PUID or PGID in the docker-compose and am running the process under root. There are no volume mappings so where do I need to specify them? (Strange thing is it was working and I didn't change a thing).
@asitemade4u commented on GitHub (Jan 25, 2022):
I have the exact same issue. Shall I create user with userid = 102 on the host machine?
@Painkiller16 commented on GitHub (Jan 26, 2022):
I also have same issue on debian 10 with portainer template, how can repair issue??
@Albonycal commented on GitHub (Jan 27, 2022):
unless you update your docker-compose.yml with the latest changes:
github.com/benbusby/whoogle-search@1af4566991/docker-compose.yml (L14)github.com/benbusby/whoogle-search@1af4566991/docker-compose.yml (L19-L22)On Thu, Jan 27, 2022 at 3:14 AM Painkiller16 @.***>
wrote:
@asitemade4u commented on GitHub (Jan 27, 2022):
It worked, Thanks!
On 1/26/22 16:44, Painkiller16 wrote:
@Albonycal commented on GitHub (Jan 28, 2022):
😀
On Fri, Jan 28, 2022 at 4:55 AM Stephen S. @.***> wrote: