-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
BookStack Email Setup Issue #3461
Comments
Hi @Suddenflame, Could you share the output of running the following command?: ls -alh /var/www/bookstack/bootstrap/cache |
To answer your questions: drwxrwxrwx. 2 nginx nginx 82 May 13 12:43 . |
@Suddenflame So yeah, looks like a config caching command has been ran at some stage. sudo rm /var/www/bookstack/bootstrap/cache/config.php |
Thank you! This appears to have resolved the issue! |
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Receiving an error when attempting to set up the SMTP email. Trying to connect it so that it sends email through our Office 365 smtp server.
Here is the .env file setup with X being the email address and Y being the password.
.env:
Exact BookStack Version
Latest
Log Content
[2022-05-17 15:46:37] production.ERROR: Connection could not be established with host localhost :stream_socket_client(): unable to connect to localhost:25 (Connection refused) {"userId":1,"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host localhost :stream_socket_client(): unable to connect to localhost:25 (Connection refused) at /var/www/bookstack/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:261)
Stacktrace
PHP Version
7.4
Hosting Environment
New installation of Red Hat Enterprise Linux 8.6 with PHP 7.4.29 installed.
The text was updated successfully, but these errors were encountered: