You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bench setup nginx command does not create the expected configuration file for the domain in /etc/nginx/sites-available/ and fails to link it to /etc/nginx/sites-enabled/.
Steps to Reproduce:
Set up a Frappe Bench environment on Ubuntu 24.04.
Run the command bench setup nginx after adding a site with bench new-site.
Check the /etc/nginx/sites-available/ directory for the generated configuration file.
Expected Behavior:
A configuration file should be generated in /etc/nginx/sites-available/ and linked in /etc/nginx/sites-enabled/ for the added site.
Actual Behavior:
No configuration file is generated, and there is no symbolic link in /etc/nginx/sites-enabled/.
Environment:
OS: Ubuntu 24.04
Bench Version: 5.22.6
Python Version: 3.12
Additional Context:
The issue persists even after ensuring correct permissions for the /etc/nginx/ directory. No errors are logged in the bench.log.
The text was updated successfully, but these errors were encountered:
Also - in regards to the issue raised by @zeuscs09
Expected Behavior:
A configuration file should be generated in /etc/nginx/sites-available/ and linked in /etc/nginx/sites-enabled/ for the added site.
is this in fact the expected behaviour? My expectation is that a server block is added to /etc/nginx/conf.d/frappe-bench.conf However I don't think there is any documentation on what is expected with the bench setup nginx command
Issue Summary:
The
bench setup nginx
command does not create the expected configuration file for the domain in/etc/nginx/sites-available/
and fails to link it to/etc/nginx/sites-enabled/
.Steps to Reproduce:
bench setup nginx
after adding a site withbench new-site
./etc/nginx/sites-available/
directory for the generated configuration file.Expected Behavior:
A configuration file should be generated in
/etc/nginx/sites-available/
and linked in/etc/nginx/sites-enabled/
for the added site.Actual Behavior:
No configuration file is generated, and there is no symbolic link in
/etc/nginx/sites-enabled/
.Environment:
Additional Context:
The issue persists even after ensuring correct permissions for the
/etc/nginx/
directory. No errors are logged in thebench.log
.The text was updated successfully, but these errors were encountered: