-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
500 internal server error opening localhost/Cachet/public on a fresh installation. #1560
Comments
Run |
@jbrooksuk i'm not sure that my virtual host configuration is good. virtual host is a mandatory requirement or it should works also without virtual host? please, can you give me some help? thanks. my virtual host configuration is <VirtualHost *:80> but when i access http://localhost/Cachet/public/ i obtain 500 internal server error. error log is [2016-02-29 13:26:54] production.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in /var/www/Cachet/bootstrap/cache/compiled.php:7590 |
You need to run |
@jbrooksuk thanks for your help. i already runned, because in my .env file there is anyway i run again but nothing changed, problem in the log file is the same. i'm following those steps https://docs.cachethq.io/docs/installing-cachet what about bootstrap folder? when i created this request for help github advised me to delete bootstrap folder contents., but reading the installation guideline i never read about deleting bootstrap folder contents. |
Run |
@jbrooksuk good. now when i access to localhost/Cachet/public there is no 500 internal server error but the page tried to open http://localhost/Cachet/public/setup and this folder doesn't exists. i checked https://github.com/cachethq/Cachet.git and this folder doesn't exists so maybe it should be generated by some installation steps, i tried to run again php artisan app:install but there is no setup folder in the public folder. |
Again, there is no folder. You shouldn't be running Cachet like that. |
@jbrooksuk i understand, i changed my virtual host configuration with this <VirtualHost *:80> and now it works :) thanks @jbrooksuk |
🎉 :) |
Hi
i installed cachet following those instruction https://docs.cachethq.io/docs/installing-cachet but opening localhost/Cachet/public i obtain a 500 internal server error without any other information.
please can you help me?
some informations :
local environment, linux mint, root user
every package are up to date
apache2 running, serving on /var/etc/www
qa-asus Cachet # mysql --version
mysql Ver 14.14 Distrib 5.5.47, for debian-linux-gnu (x86_64) using readline 6.3
qa-asus Cachet # php --version
PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
mysql installed
a database called cachet with an user called cachet and no password created (see screenshot)
git cloned, last tag used, no problem with composer install, no problem with php artisan key:generate and app:install and rm -rf bootstrap/cache/* launched.
this is the .env file
APP_ENV=production
APP_DEBUG=true
APP_URL=http://localhost/Cachet/public
APP_KEY=W4q2fmoADhkokOKeAQQrpmImcNYiKPvc
DB_DRIVER=mysql
DB_HOST=localhost
DB_DATABASE=cachet
DB_USERNAME=cachet
DB_PASSWORD=
DB_PORT=3306
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=database
CACHET_EMOJI=false
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
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
my webserver normally serve pages, but cachet doesn't works.
opening /var/log/apache2/error.log i see
[Thu Feb 25 16:49:37.113209 2016] [:error] [pid 11045] [client 127.0.0.1:36524] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/Cachet/storage/logs/laravel-2016-02-25.log" could $
[Thu Feb 25 16:49:37.114009 2016] [:error] [pid 11045] [client 127.0.0.1:36524] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/Cachet/storage/logs/laravel-2016-02-25.log" could $
then i look for /var/www/Cachet/storage/logs/laravel-2016-02-25.log but this file doesn't exists.
then i created it, but nothing changed.
any other suggestion?
thanks
The text was updated successfully, but these errors were encountered: