error while installing helpdesk using github script

Hi

I have ubuntu 24 installed along with portainer

while i am trying to install helpdesk using script provided on git hub ( GitHub - frappe/helpdesk: Modern, Streamlined, Free and Open Source Customer Service Software) its showing me error

Please find below error

Setting Up Production Instance

Docker is already installed

Please refer to /root/helpdesk_prod_setup.env to know which keys to set

A .env file is generated with basic configs. Please edit it to fit to your needs

[+] Running 43/43
:heavy_check_mark: redis-cache Pulled 24.3s
:heavy_check_mark: scheduler Pulled 113.1s
:heavy_check_mark: proxy Pulled 43.1s
:heavy_check_mark: queue-long Pulled 113.0s
:heavy_check_mark: db Pulled 51.3s
:heavy_check_mark: backend Pulled 113.1s
:heavy_check_mark: redis-queue Pulled 24.3s
:heavy_check_mark: configurator Pulled 113.1s
:heavy_check_mark: websocket Pulled 113.0s
:heavy_check_mark: cron Pulled 29.1s
:heavy_check_mark: frontend Pulled 113.0s
:heavy_check_mark: queue-short Pulled 113.0s

[+] Running 16/17
:heavy_check_mark: Network helpdesk_prod_setup_default Created 0.2s
:heavy_check_mark: Volume “helpdesk_prod_setup_sites” Created 0.0s
:heavy_check_mark: Volume “helpdesk_prod_setup_cert-data” Created 0.0s
:heavy_check_mark: Volume “helpdesk_prod_setup_db-data” Created 0.0s
:heavy_check_mark: Volume “helpdesk_prod_setup_redis-queue-data” Created 0.0s
:heavy_check_mark: Container helpdesk_prod_setup-redis-queue-1 Started 4.1s
:heavy_check_mark: Container helpdesk_prod_setup-redis-cache-1 Started 5.2s
:heavy_check_mark: Container helpdesk_prod_setup-db-1 Started 4.7s
⠸ Container helpdesk_prod_setup-proxy-1 Starting 5.2s
:heavy_check_mark: Container helpdesk_prod_setup-configurator-1 Created 0.1s
:heavy_check_mark: Container helpdesk_prod_setup-scheduler-1 Created 0.4s
:heavy_check_mark: Container helpdesk_prod_setup-queue-long-1 Created 0.3s
:heavy_check_mark: Container helpdesk_prod_setup-queue-short-1 Created 0.4s
:heavy_check_mark: Container helpdesk_prod_setup-backend-1 Created 0.5s
:heavy_check_mark: Container helpdesk_prod_setup-websocket-1 Created 0.3s
:heavy_check_mark: Container helpdesk_prod_setup-cron-1 Created 0.2s
:heavy_check_mark: Container helpdesk_prod_setup-frontend-1 Created 0.1s
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint helpdesk_prod_setup-proxy-1 (48da0241584af84c1b7a0b9817a7ec3c75ee4136112330ad49971b373306260b): Bind for 0.0.0.0:80 failed: port is already allocated
Docker Compose failed, please check the container logs
Command ‘[‘docker’, ‘compose’, ‘-p’, ‘helpdesk_prod_setup’, ‘-f’, ‘/root/helpdesk_prod_setup-compose.yml’, ‘up’, ‘–force-recreate’, ‘–remove-orphans’, ‘-d’]’ returned non-zero exit status 1.
root@shlok:/home/shlok#

Hey @Ritvik_Sardana

do you know whats is this issue

root@shlok:/home/shlok# python3 ./easy-install.py deploy
–project=helpdesk_prod_setup
--email=shlok.raut.a.i@gmail.com
–image=Package helpdesk · GitHub
–version=stable
–app=helpdesk
–sitename 172.22.1.95

Setting Up Production Instance

Docker is already installed

Please refer to /root/helpdesk_prod_setup.env to know which keys to set

A .env file is generated with basic configs. Please edit it to fit to your needs

[+] Running 43/43
:heavy_check_mark: proxy Pulled 45.3s
:heavy_check_mark: db Pulled 49.0s
:heavy_check_mark: queue-long Pulled 110.9s
:heavy_check_mark: cron Pulled 38.0s
:heavy_check_mark: backend Pulled 110.9s
:heavy_check_mark: redis-cache Pulled 23.7s
:heavy_check_mark: websocket Pulled 110.9s
:heavy_check_mark: configurator Pulled 110.9s
:heavy_check_mark: queue-short Pulled 110.9s
:heavy_check_mark: scheduler Pulled 110.9s
:heavy_check_mark: frontend Pulled 110.9s
:heavy_check_mark: redis-queue Pulled 23.7s

[+] Running 17/17
:heavy_check_mark: Network helpdesk_prod_setup_default Created 0.2s
:heavy_check_mark: Volume “helpdesk_prod_setup_sites” Created 0.0s
:heavy_check_mark: Volume “helpdesk_prod_setup_redis-queue-data” Created 0.0s
:heavy_check_mark: Volume “helpdesk_prod_setup_cert-data” Created 0.0s
:heavy_check_mark: Volume “helpdesk_prod_setup_db-data” Created 0.0s
:heavy_check_mark: Container helpdesk_prod_setup-redis-queue-1 Started 4.4s
:heavy_check_mark: Container helpdesk_prod_setup-redis-cache-1 Started 5.3s
:heavy_check_mark: Container helpdesk_prod_setup-proxy-1 Started 6.1s
:heavy_check_mark: Container helpdesk_prod_setup-db-1 Healthy 11.8s
:heavy_check_mark: Container helpdesk_prod_setup-configurator-1 Exited 20.1s
:heavy_check_mark: Container helpdesk_prod_setup-queue-long-1 Started 28.2s
:heavy_check_mark: Container helpdesk_prod_setup-backend-1 Started 26.1s
:heavy_check_mark: Container helpdesk_prod_setup-websocket-1 Started 24.7s
:heavy_check_mark: Container helpdesk_prod_setup-queue-short-1 Started 26.7s
:heavy_check_mark: Container helpdesk_prod_setup-scheduler-1 Started 22.2s
:heavy_check_mark: Container helpdesk_prod_setup-cron-1 Started 29.3s
:heavy_check_mark: Container helpdesk_prod_setup-frontend-1 Started 30.5s

Creating site: 172.22.1.95

–no-mariadb-socket is DEPRECATED; use --mariadb-user-host-login-scope=‘%’ (wildcard) or --mariadb-user-host-login-scope=, instead. The name of this option was misleading: it had nothing to do with sockets.

Installing frappe…
Updating DocTypes for frappe : [====================] 100%
Updating Dashboard for frappe
Could not find app “telephony”:
No module named ‘telephony’
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/caching.py”, line 57, in wrapper
return frappe.local.request_cache[func][args_key]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: -8481428521763833334

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in _run_code
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 114, in
main()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 20, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1442, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1363, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 794, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py”, line 105, in new_site
_new_site(
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 117, in _new_site
install_app(app, verbose=verbose, set_as_patched=not source_sql, force=False)
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 288, in install_app
install_app(required_app, verbose=verbose)
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 281, in install_app
app_hooks = frappe.get_hooks(app_name=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1616, in get_hooks
hooks = _dict(_load_app_hooks(app_name))
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/caching.py”, line 59, in wrapper
return_val = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1588, in _load_app_hooks
app_hooks = get_module(f"{app}.hooks")
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1454, in get_module
return importlib.import_module(modulename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1126, in _find_and_load_unlocked
File “”, line 241, in _call_with_frames_removed
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘telephony’
Bench Site creation failed for 172.22.1.95
Command ‘[‘docker’, ‘compose’, ‘-p’, ‘helpdesk_prod_setup’, ‘exec’, ‘backend’, ‘bench’, ‘new-site’, ‘–no-mariadb-socket’, ‘–db-root-password=623baf6fb’, ‘–admin-password=80497fe6a1da’, ‘–install-app’, ‘helpdesk’, ‘172.22.1.95’]’ returned non-zero exit status 1.
MariaDB root password is 623baf6fb
Site administrator password is 80497fe6a1da
Passwords are stored in /root/helpdesk_prod_setup-passwords.txt
root@shlok:/home/shlok#

this should be installed along with script

Hello?

You need to install also the telephony app, see `Migration fails: Could not find app "telephony"` after latest update · Issue #2592 · frappe/helpdesk · GitHub