-
Notifications
You must be signed in to change notification settings - Fork 26
Enabling debugging with autoinstall via env variables seems brocken #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@MrPetovan maybe you can help here. The env variables mentioned above are not handled in the docker scripts so I assume that they are handled by friendica and found in /src/Core/Config/Util/ConfigFileManager.php:100 the only reference which seem to load the env variables into a config cache. Is there any trick how I can take a look at the config cache at runtime? I don't have an IDE or development tools available as I need to do this inside the docker container. |
If you can edit files in the container, you can add |
@m33m33, @comradeferret Maybe you can help. I trying to get the installation running with the current dev version but it still fails. I thought that with enabled logging in the docker container I can get a bit more information. But I don't get the logging (into friendica.log) working in the container before I start the install wizard or try to register the admin user in the login page. It's just not there. I created two issues #286, #287 to keep track of the current state and the docker-compose file I use. Can you please try if you get the log working? Or just check if you have the same behaviour? It would be really helpful to get the debug logging enabled. As the used env variables are not used within the wizard or the autoinstall I'm not sure even if it can be enabled before the setup is finished. Alternativly, do you have an idea how to enable php logging? Maybe this helps. |
@ne20002 I couldn't get the dev version working either, I just use the stable. |
The env for log file has been working with fpm image today. Need to recheck with apache image. |
I created a new instance with docker-compose (using autoinstall) where the env variables
are set.
Executing into the friendica container before trying to register the admin user showed that no log has been created. The env variables passed are available.
After registering the admin user with
bin/console user add
and logging into the instance theLogs
settings underAdmin
showed:It seems obvious that the log is not created and logging not enabled as expected.
The text was updated successfully, but these errors were encountered: