From now on I will now move to nginx to deploy my apps its not difficult compare to apache so much configuration. You have to run this or else your app will not work. Thanks for this tutorial.❤❤❤
Good lesson. I'm having issue making my uploaded files in storage served by nginx. i have followed every step in this video. i use public disk and has ran the "PHP artisan storage:link" command but no luck. what else do I need to do Thanks
I follow all steps but, when a try to clone: fatal: could not create work tree dir 'my-repol': Permission denied, I did all steps in your tuto..SSH Keys and Github ... and Permission denied, What do I have to do ?
It sounds like the user you are operating as does not have write access to the www directory. You can try prefixing the clone command with `sudo` so it will execute it with root privileges. Alternatively, you can change the owner of the `www` directory to whatever user you’re operating as. This can be down with the `chown` command following this pattern: `chown username -r www`
I have read and done many tutorials to deploy laravel in an aws instance (lightsail) and none have worked for me. Why is so complicated ? Maybe with docker I can do it. I noob in devOps job.
Try running the command nginx -T | grep "server_name " to see all the server names your nginx server currently has enabled. Confirm the domain (or subdomain) you're setting up is listed there. If it's not, recheck all the steps outlined in the video. If it is and it's still not working, drop me an email at mail@codewithsusan.com with a copy of your site config and I can take a look.
Illuminate\Database\QueryException Database file at path [laravel] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from "sessions" where "id" = PRSEOdr4JPV2S2EeYeqHCvTP7RTyihulAYKL8sQD limit 1) this is my error plz help me
After following all steps I keep encountring 403 Forbidden issue on nginx. I assume its not laravel issue but more of nginx issue. Can you please advise what i may be doing wrong.
Check the output of running "sudo nginx -t". It will let you know if you have any issues in your site configs. Also, here's a separate guide I have on setting up sites on Nginx specifically that might be helpful: ruclips.net/video/omPd93uLQDc/видео.html If neither of those things get you on track, drop me an email (mail@codewithsusan.com) and I can help you troubleshoot further.
@@codewithsusan running sudo nginx -t gives following output: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Thanks for the link I will check that if still stuc will email you! Cheers Susan.
I have a guide that's not specific to Laravel but it does show how to set up multiple sites on one Nginx server: ruclips.net/video/omPd93uLQDc/видео.html
My best guess based on the info you provided is there was an issue during the step of configuring the site with Nginx. Double check the settings you added to the file in /etc/nginx/sites-available/. If you want to email me a copy at mail@codewithsusan.com I can give it a second set of eyes for you.
First time i watched your videos, i successfully deploy my laravel apps. You deserve a subscriber
This was very informative, thank you Susan!
Thank you. It was very helpful finding a clear way of deploying into nginx
From now on I will now move to nginx to deploy my apps its not difficult compare to apache so much configuration. You have to run this or else your app will not work. Thanks for this tutorial.❤❤❤
you described it as simple as possible keep it up
thank you, for making this part ♥
Thank you so much!! THis really helped me deploying my laravel apps on Azure as well
Glad it helped!
Fantastic tutorial video, thank you so much, Susan.
You're welcome; thanks for watching Eddie.
well documented instructions, thank you
Very nice walk through, Thank you.
I have struggled with this but thanks alot you have helped me alot
Very concise and clear. Thank yoU!
Going to try this out on my next project - thanks!
So easy to follow, thank you!
Thank you Susan, it works!
Thanks for your efforts. It was very helpful.
great video helped me alot with my deploying process
this is apt and very clear. Thank you.
good, thanks
tnx for your clear and easy explanation
Thanks for this!
Thanks a lot Sussan!!!
going to try this on my next project
Really helpful, thank you
Thank you, this video is helpful
going to try this out Thanks
Very Thanks .it was helpful
Thank you susan 🙏
Good lesson.
I'm having issue making my uploaded files in storage served by nginx. i have followed every step in this video. i use public disk and has ran the "PHP artisan storage:link" command but no luck. what else do I need to do
Thanks
Thank you so much!!
thx for this tutorial!
Thank you. The video was helful
Very helpful video
Amazing, please cover how to deploy in staging, production and how to setup all this things...
Super useful thanks :)
Nice explanation. Thanks.
Great video
Thanks for this
going to try this out
me encata tus videos
Very helpful video
very useful, thanks
it so helpful and easy guide
Thank You!
very informative.
thanks for the info
I tried, it didnt worked for me. Need to see the issues list mentioned
Thank you for your share
I follow all steps but, when a try to clone: fatal: could not create work tree dir 'my-repol': Permission denied, I did all steps in your tuto..SSH Keys and Github ... and Permission denied, What do I have to do ?
what kind of permission I have to give to www folder ?? What is the best practice for permission in that folder ?
It sounds like the user you are operating as does not have write access to the www directory.
You can try prefixing the clone command with `sudo` so it will execute it with root privileges.
Alternatively, you can change the owner of the `www` directory to whatever user you’re operating as. This can be down with the `chown` command following this pattern: `chown username -r www`
Good video! :D
Thanks! 😁
Good tutorial!
how do i make nginx server find my build files in the public/build/assets folder I'm confused
Very good
I have read and done many tutorials to deploy laravel in an aws instance (lightsail) and none have worked for me. Why is so complicated ? Maybe with docker I can do it. I noob in devOps job.
thanks for your sharing
Subscribed!
Excellent explanation, please could you make a video deploying to aws ec2 instance for Laravel api app?. Thanks a lot
thank you but i have a an issue my defualt nginx web page still showing not my app
Try running the command nginx -T | grep "server_name " to see all the server names your nginx server currently has enabled. Confirm the domain (or subdomain) you're setting up is listed there. If it's not, recheck all the steps outlined in the video. If it is and it's still not working, drop me an email at mail@codewithsusan.com with a copy of your site config and I can take a look.
perfect and simple)
Illuminate\Database\QueryException
Database file at path [laravel] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from "sessions" where "id" = PRSEOdr4JPV2S2EeYeqHCvTP7RTyihulAYKL8sQD limit 1)
this is my error plz help me
After following all steps I keep encountring 403 Forbidden issue on nginx. I assume its not laravel issue but more of nginx issue. Can you please advise what i may be doing wrong.
Check the output of running "sudo nginx -t". It will let you know if you have any issues in your site configs.
Also, here's a separate guide I have on setting up sites on Nginx specifically that might be helpful: ruclips.net/video/omPd93uLQDc/видео.html
If neither of those things get you on track, drop me an email (mail@codewithsusan.com) and I can help you troubleshoot further.
@@codewithsusan running sudo nginx -t
gives following output:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Thanks for the link I will check that if still stuc will email you! Cheers Susan.
Thank youuuu
Great video, can you cover how to host multiple Laravel apps in one nginx server
I have a guide that's not specific to Laravel but it does show how to set up multiple sites on one Nginx server: ruclips.net/video/omPd93uLQDc/видео.html
informative...
Tres bonne pratique
Thank you!
helpful video
try this for my new project
Good!
Good video
good one
Thanks.
Helpful
Do you have any video on how to deploy backend e.g. Django and frontend e.g. Vue3 both on nginx?
Not at the moment - I don't work much with Django (nothing against it, just don't use it currently).
Sure thanks...
thank you!
good job
Thanks Carl!
nice videos
¡Suscrito!
nice video
thank you
Thanks!
Subscribed
thank u
is it work with mysql database?
nice
thanks
good
Nice
Good
cool
great
it is showing file not found
My best guess based on the info you provided is there was an issue during the step of configuring the site with Nginx. Double check the settings you added to the file in /etc/nginx/sites-available/. If you want to email me a copy at mail@codewithsusan.com I can give it a second set of eyes for you.
ty
Nice Konten
thanks !
tq
good
subscribed
nice
thanks