tiredofit / docker-fusiondirectory

Dockerized web based LDAP manager
MIT License
48 stars 18 forks source link

fusiondirectory-setup fail on /var/www/fusiondirectory #54

Open tedr56 opened 1 year ago

tedr56 commented 1 year ago

Summary

fusiondirectory-setup --update-cache looking for /var/www/fusiondirectory which is in /www/fusiondirectory

Steps to reproduce

Add PLUGIN_INVITATIONS Erreur fatale : impossible d'initialiser la classe 'publicFormPage' - veuillez exécuter 'fusiondirectory-setup --update-cache' pour essayer de régler le problème Exec inside fusiondirectory container

$ fusiondirectory-setup --update-cache 
Can't open directory /var/www/fusiondirectory: No such file or directory at /usr/sbin/fusiondirectory-setup line 360.

What is the expected correct behavior?

Command should exit with no log.

Environment

Possible fixes

I manage to make it work with a symlink but should be in the right folder by default

Additional Information

Thank you for all the work.

tiredofit commented 1 year ago

You can use fusiondirectory-setup like this fusiondirectory-setup --set-fd_home="${NGINX_WEBROOT}" <option> and it will work for you. For some reason it's hardcoded to /var/www/fusiondirectory where I put the files in /www/fusiondirectory..