Does this software work for anyone?

Re: github page:

Run the following commands

git clone GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext
cd frappe_docker
docker compose -f pwd.yml up -d

(drum rolll).... http://localhost:8080/:  "frontend does not exist" 
GREAT first impression.

$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
592e351e8833 frappe/erpnext:v15.55.2 “nginx-entrypoint.sh” 15 minutes ago Up 15 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp frappe_docker-frontend-1
24cceae2af87 frappe/erpnext:v15.55.2 “node /home/frappe/f…” 15 minutes ago Restarting (1) 50 seconds ago frappe_docker-websocket-1
80e313bbbcd4 frappe/erpnext:v15.55.2 “/home/frappe/frappe…” 15 minutes ago Up 15 minutes frappe_docker-backend-1
4afe2b781436 mariadb:10.6 “docker-entrypoint.s…” 15 minutes ago Up 15 minutes (healthy) 3306/tcp frappe_docker-db-1
ae120352a7e9 redis:6.2-alpine “docker-entrypoint.s…” 15 minutes ago Up 15 minutes 6379/tcp frappe_docker-redis-queue-1
3e751eddb4bf redis:6.2-alpine “docker-entrypoint.s…” 15 minutes ago Up 15 minutes 6379/tcp frappe_docker-redis-cache-1
219dcfec24cc frappe/erpnext:v15.55.2 “bench worker --queu…” 15 minutes ago Restarting (1) 50 seconds ago frappe_docker-queue-short-1
1e8387870068 frappe/erpnext:v15.55.2 “bench worker --queu…” 15 minutes ago Restarting (1) 50 seconds ago frappe_docker-queue-long-1
8ef1b4f22580 frappe/erpnext:v15.55.2 “bench schedule” 15 minutes ago Restarting (1) 53 seconds ago frappe_docker-scheduler-1


docker logs frappe_docker-queue-short-1
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘./sites/common_site_config.json’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/cli.py”, line 83, in cli
bench_config = get_config(“.”)
^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 34, in get_config
return get_common_site_config(bench_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bench/config/common_site_config.py”, line 41, in get_common_site_config
with open(config_path) as f:
^^^^^^^^^^^^^^^^^


Should I give up before I waste any more of my time or is there a solution?

(os: Fedora 40)

Probably.

3 Likes

It is considered rude in general to expect anyone to read through unformatted text given the different screen sizes and eyes. Use markdown to format the text.

I’ll try to understand and explain what is happening.

You follow the steps right for Play With Docker. i.e. demo setup to play around. DO NOT depend your production system on this. For production use easy-install script or Self-hosting Frappe/ERPNext Apps with Dokploy | Frappe Blog

Something you may have missed from “Final Steps”, frappe_docker/README.md at main · frappe/frappe_docker · GitHub

Final steps

Wait for 5 minutes for ERPNext site to be created or check create-site container logs before opening browser on port 8080. (username: Administrator, password: admin)

Now you’ve created docker volumes. Re-trying the same command will fail. You’ve to stop and delete containers and remove volumes before you try again. Execute following from same location you did docker compose ... up ....

docker compose -f pwd.yml stop && docker compose -f pwd.yml rm -fsv && docker volume prune -f --all

That will, stop containers, remove containers and finally remove unattached volumes. Then you can try pwd again. Wait for few min or check create-site container logs before you check the site in browser.

About giving up?

If you land up here on community everything is already free, don’t be rude! Some of us will try to bring back hope if you’ve tried and given up! Most also understand your frustration, we installed it at some point of time! :sweat_smile:

If you want to complain? checkout frappecloud and their offerings.
It’ll be simple. Click button → it works → raise ticket → it works as you expect!

5 Likes

It is considered rude in general to expect anyone to read through unformatted text given the different screen sizes and eyes. Use markdown to format the text.

Formatting attempts were made, which you can clearly see with some areas being marked with tripple back-ticks (wrong ones since the exact opposite areas were marked as code… Your forum, however, neither allows to preview the post to see if formatting worked, nor does it allow a new user to edit their post after posting. So any mistakes in formatting are neither apparent before hitting the “post” button, nor correctable after.

You follow the steps right for Play With Docker. i.e. demo setup to play around. DO NOT depend your production system on this. For production use easy-install script or Self-hosting Frappe/ERPNext Apps with Dokploy | Frappe Blog

I’ve followed the steps in the frappe/erpnext github page, ones under the “Production Setup” heading (GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)) It’s not for production setup? Or are you thinking about a different page? Sorry, I’m confused. Are you saying the docker setup itself is not for production use-cases?

Initially I waited for quite a while but 3 of the containers had the status of “restarting”. Finally I shut down the whole VM and re-started, re-ran the docker compose command and then it actually worked. Not sure why.

Sorry about being bitchy. I’m at the end of my roap and on the edge of a mental breakdown after a month of setting up self hosted stuff (eyes Nextcloud) This was just one more thing I tried as directions instructed and it failed right away. Because of course it did!