evertramos / easy-server

Linux Scripts to Automate Tasks
MIT License
56 stars 34 forks source link

Error when installing nginx-proxy - You must inform the required argument(s) to the function: 'env_update_variable' string: DOCKER_HOST_ROOTLESS_PATH #1

Open TimotF opened 2 years ago

TimotF commented 2 years ago

Hi,

First of all thank you for your work, that is saving me a lot of time and headache !

I have followed the instruction in your video https://www.youtube.com/watch?v=eiTivLeIkm0, and have noticed that an error occur when I execute the install script for nginx-proxy :

You must inform the required argument(s) to the function: 'env_update_variable' string: DOCKER_HOST_ROOTLESS_PATH

Since you updated recently the nginx-proxy-automation repo to support docker rootless, I believe the the option --docker-rootless should be added as argument when running ./fresh-start.sh in the installation script. That is what I did and it fixed the error.

evertramos commented 2 years ago

Hello @TimotF

Thank you for your words.

I have fixed the issue, it was on the env variable update:

https://github.com/evertramos/nginx-proxy-automation/commit/3953465fe3c588a2ebcdb6cfd59b358ddd6721bc

Could you please try again?