bunkerity / bunkerweb

🛡️ Open-source and next-generation Web Application Firewall (WAF)
https://www.bunkerweb.io
GNU Affero General Public License v3.0
6.12k stars 339 forks source link

[BUG] Can't write to the templates directory : /etc/nginx #204

Closed Visalyputra closed 2 years ago

Visalyputra commented 2 years ago

Description Concise description of what you're trying to do, the expected behavior and the current bug. I do not know if this is a bug or not. i just install it on my linux server and follow the procedure for linux integration then after i execute bunkerized-nginx a error appear

Logs The logs generated by bunkerized-nginx. DON'T FORGET TO REMOVE PRIVATE DATA LIKE IP ADDRESSES !

$ bunkerized-nginx [*] Generate configuration files [!] Error from command : /opt/bunkerized-nginx/gen/main.py --settings /opt/bunkerized-nginx/settings.json --templates /opt/bunkerized-nginx/confs --output /etc/nginx --variables /opt/bunkerized-nginx/variables.env [!] Can't write to the templates directory : /etc/nginx

hjorslev commented 2 years ago

I get the same error. I just installed bunkerized-nginx today using this guide: https://bunkerized-nginx.readthedocs.io/en/latest/integrations.html#linux

fl0ppy-d1sk commented 2 years ago

Hello @Visalyaputra and @hjorslev,

It should be fixed in the new 1.4.0 version. Feel free to test it and open a new issue if needed.