By vasilkblatev
Hello everyone, I already deploy my project to DO app.It is simple Laravel app with login system. After The user is created or logged in, i get 500 server error.Migrations are runned succesfully.
I already check in console - artisan tinker if the user is created and it is created.
i have followed this tutorial (https://www.youtube.com/watch?v=qkg5Cufa-C8&feature=emb_imp_woyt):
The Logs show only this error
data-trade-2 | 2021-03-23 18:43:43 10.244.4.54 - - [23/Mar/2021:17:43:42 +0000] "GET /user_settings HTTP/1.1" 500 568 "-" "Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0
I dont know if this is relevant to the issue, for front end i’m using vue.js but routs come from web.php . On local server everithing work perfectly
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @vasilkblatev,
In order to surface error logs in the App Platform control panel, your app needs to print errors to stderr. Laravel comes with a stderr log channel by default, so you just need to set the LOG_CHANNEL env var to stderr. You can refer to this file for an example: sample-laravel config/logging.php.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.