-
Notifications
You must be signed in to change notification settings - Fork 95
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
Network issue #165
Comments
And of course thank you for this amazing project! It is really nice but because of the problem above I cant use it. |
That is probably because your server (nginx/apache) is using the www-data user. In general you should avoid using I'll close the issue since it doesn't seem to be a bug with Presentator, but please comment if you are still experiencing further issues. |
Thank you. I noticed that this one was not for production. Now I installed it with the production guide and I'm experiencing errors when logging in. Database and everything is setup. Could you tell how to install the php extension "reflection" and the rest? System is ubuntu. It drops me an Internal Server Error 500 everytime, maybe its php.
|
The php socket is also setup correctly in the nginx conf (Php7.4-fpm.sock). File is also on the specified location, probably php extensions are missing. |
@timololipop Ubuntu usually follows this pattern Although I haven't tested it with the production setup, you should also be able to run manually the requirements check by executing Please provide detailed log if the above error persist (and if possible, your nginx config). |
|
@timololipop For the requirements check you'll have to copy the requirements.php file in the base application directory, something like: cp /path/to/your_presentator/vendor/presentator/api/requirements.php /path/to/your_presentator/requirements.php and then call with The database healthcheck means only that the application was able to connect to your DB with the configured credentials. Could you attach a phpinfo dump/screenshot? |
`Yii Application Requirement Checker This script checks if your server configuration meets the requirements Check conclusion:PHP version: OK Reflection extension: OK PCRE extension: OK SPL extension: OK Ctype extension: OK MBString extension: OK OpenSSL extension: OK Intl extension: OK ICU version: OK ICU Data version: OK Fileinfo extension: OK DOM extension: OK IPv6 support: OK PDO extension: OK PDO SQLite extension: WARNING!!! PDO MySQL extension: OK PDO PostgreSQL extension: WARNING!!! Memcache extension: WARNING!!! GD PHP extension with FreeType support: OK ImageMagick PHP extension with PNG support: OK Expose PHP: WARNING!!! PHP allow url include: OK PHP mail SMTP: OK Errors: 0 Warnings: 4 Total checks: 23 ` |
@timololipop The requirements check seems ok (if you are using MySQL). Could you provide more detailed server log(s) of the error? You could also enable temporary dev and debug mode on application level by changing |
The sign up process seems to work now, but I got problems with the Mail Setup. 'mailer' => [ https://www.ionos.de/hilfe/e-mail/allgemeine-themen/serverinformationen-fuer-imap-pop-und-smtp/ I also changed usefiletransport to false. |
@timololipop I'm glad that you managed to fix the error.
p.s. Currently activation emails can't be resent (will be added in the upcoming releases). You could manually activate your newly registered user by switching the status flag in the |
Also tried gmail, didnt work. I will try mailtrap, thank you! |
Weird, they appear in mailtrap, but gmail or 1und1 didnt work. |
@timololipop If you are seeing your mails in mailtrap, than the issue must be something with your mail server configuration. The last time I checked personal gmail accounts had some security restrictions and limitations for the number of allowed outgoing emails. For 1und1 I'd advice you to contact their support and ask them if something additional need to be done in order to be able to use their smtp server. |
Can you recommend any email provider you know it is working? |
@timololipop I have previously successfully tested mailgun, sendgrid, aws ses. But really any mail provider should be fine. Contact the 1und1 support and ask them for the proper smtp configurations (their documentation could be outdated, the port/host could be different, etc.). |
I managed to get it working with "Mailjet". Thank you so much! |
Hello,
I tried to set it up on a fresh installed Ubuntu 20.04 Server. I ran the install script and there I already got errors like that /var/www/vendor could not be created and many Permission denied's. Of course I ran it as root and with sudo.
When I start the webinterface I can access it, but when I try to Sign Up I get a "Network error".
Did anyone experience this?
The text was updated successfully, but these errors were encountered: