Closed ghost closed 3 years ago
:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs
Nevermind i just used Debian 10, after seing that Centos 8 will be abandoned and replaced by rolling release stuff, did everything the same way, and it worked. Lols.
I know this Error already occured often, but i tried everything mentioned in the other Issues.
Installing Nginx, Letsencrypt certs composer, and the cachet app itself worked flawless without any errors.
CentOS 8 PHP Version: 7.2.24
I Pulled Cachet From the actual Branch 2.4
Nginx and PHP-FPM are running with the user "nginx". I made this user Owner of the cachet/ folder and set chmod 777 (to make sure its not this issue)
My .env File: (with some annotations added) APP_ENV=production APP_DEBUG=false APP_URL=https://status.anonymizeddomain.tk (domain resolves, and ssl cert works, i can serve a blank html file e.g.) APP_TIMEZONE=UTC APP_KEY=anonymized DEBUGBAR_ENABLED=false
DB_DRIVER=mysql DB_HOST=localhost DB_UNIX_SOCKET=null DB_DATABASE=cachet DB_USERNAME=cachet DB_PASSWORD=anonymized DB_PORT=3306 DB_PREFIX=null
CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync
CACHET_BEACON=true CACHET_EMOJI=false CACHET_AUTO_TWITTER=true
MAIL_DRIVER=log MAIL_HOST=null MAIL_PORT=null MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ADDRESS=null MAIL_NAME=null MAIL_ENCRYPTION=tls
REDIS_HOST=null REDIS_DATABASE=null REDIS_PORT=null
GITHUB_TOKEN=null
NEXMO_KEY=null NEXMO_SECRET=null NEXMO_SMS_FROM=Cachet
TRUSTED_PROXIES=
My cachet.conf (nginx host, anonymized) server {
listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl;
server_name anonymized;
root /var/www/cachet/public;
index index.php;
ssl_protocols TLSv1.2 TLSv1.3; ssl_certificate /etc/letsencrypt/anonymized/fullchain.pem; ssl_certificate_key /etc/letsencrypt/anonymized/private.key; ssl_certificate /etc/letsencrypt/anonymized_ecc/fullchain.pem; ssl_certificate_key /etc/letsencrypt/anonymized_ecc/private.key;
location / { try_files $uri /index.php$is_args$args; }
location ~ .php$ { include fastcgi_params;
fastcgi_pass 127.0.0.1:9000; (was even worse, bad gateway error)
}
}
Result: Im getting a Page with working ssl cert and the error seems to come from the app and not from nginx:
Error 500 Houston, We Have A Problem. Internal Server Error [...]
This error can be identified by 178a301c-b465-4752-901d-2e818c93c73d. You might want to take a note of this code. [...]
Edit: And yep i tried systemctl restart nginx , systemctl restart php-fpm and php artisan app:update after every try when i changed sth.