Skip to content
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 error during setup #207

Closed
csandanov opened this issue May 25, 2017 · 1 comment
Closed

500 error during setup #207

csandanov opened this issue May 25, 2017 · 1 comment

Comments

@csandanov
Copy link

I'm using separate php and nginx images for cachet (2.3.11):
https://github.com/wodby/cachet
https://github.com/wodby/cachet-nginx

On the last page of the setup, I get An error has occurred and this resource cannot be displayed. when creating a new user. PHP logs just show me "POST " 500 despite enabled DEBUG mode.

During php artisan app:install I see the following errors in postgres logs (not sure how critical they are):

postgres_1  | ERROR:  relation "settings" does not exist at character 29
postgres_1  | STATEMENT:  select "name", "value" from "settings"

My .env file:

APP_ENV=development
APP_DEBUG=true
APP_URL=http://localhost
APP_KEY=base64:s9/zvreWNuwJxYcxSZW9qBXMQU3TaG35IMYU64Rx21M=

DB_DRIVER=pgsql
DB_HOST=postgres
DB_DATABASE=cachet
DB_USERNAME=cachet
DB_PASSWORD=cachet
DB_PORT=5432
DB_PREFIX=

CACHE_DRIVER=apc
SESSION_DRIVER=apc
QUEUE_DRIVER=database

CACHET_BEACON=true
CACHET_EMOJI=false
CACHET_AUTO_TWITTER=true

MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ADDRESS=null
MAIL_NAME=null
MAIL_ENCRYPTION=null

REDIS_HOST=null
REDIS_DATABASE=cachet
REDIS_PORT=6379

GITHUB_TOKEN=null

NEXMO_KEY=null
NEXMO_SECRET=null
NEXMO_SMS_FROM=Cachet

What could be the issue here? How can I enable more detailed logging?

@csandanov
Copy link
Author

Ok, I've found logs under storage/logs/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant