Skip to content

Feature request for Debain 13 support #70

@volkswagner

Description

@volkswagner

It seems like the script can be modified to support Debian 13.

I tried adding "13" to the supported versions and I also removed "software-properties-common"

from line 394
sudo apt install software-properties-common git curl whiptail cron -y

This package has been removed from Debian 13. I don't think it's needed by the script because all reposiories are added directly to source.list files rather than using the "apt add repository" command.

After my changes, the script fails during bench install:

`Downloading markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (22 kB)
Downloading honcho-2.0.0-py3-none-any.whl (22 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: honcho, uv, smmap, six, semantic-version, requests, MarkupSafe, click, python-dateutil, jinja2, gitdb, python-crontab, gitpython, frappe-bench
Attempting uninstall: requests
Found existing installation: requests 2.32.3
━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3/14 [six]error: uninstall-no-record-file

× Cannot uninstall requests 2.32.3
╰─> The package's contents are unknown: no RECORD file was found for requests.

hint: The package was installed by debian. You should check if it can uninstall the package.
An error occurred on line 564 with exit status 0
-bash: pop_var_context: head of shell_variables not a function context`

I'm able to complete the install manually after the above error by running the following commands:

pip3 install frappe-bench --break-system-packages
bench init --frappe-branch version-15 frappe-bench
sudo chmod -R o+rx /home/frappe/frappe-bench
sudo apt install nodejs yarnpkg npm nginx supervisor fail2ban libffi-dev git libssl-dev gcc g++ make
sudo pip3 install ansible --break-system-packages
bench setup supervisor
sudo ln -s `pwd`/config/supervisor.conf /etc/supervisor/conf.d/frappe-bench.conf
bench setup nginx
sudo ln -s `pwd`/config/nginx.conf /etc/nginx/conf.d/frappe-bench.conf
bench config dns_multitenant on

Some of the above packages were already installed, but I didn't keep track of the ones that were already installed.

sudo nano /etc/supervisor/supervisord.conf

[unix_http_server]
chmod = 0760
chown = frappe:frappe

sudo supervisorctl restart all

I still have a couple of unresolved issues:

  1. No favicon is displayed, yet the page source shows the same as a working sites with favicon displayed.
  2. RQ Jobs are not working. Scheduler is enabled, yet no emails get sent and RQ Job list is completely empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions