Questions tagged [laravel]
99 questions
1
vote
1 answer
Why I got errors running redis in laravel app?
I need to run laravel 5 app on my local Kubuntu 18 and I need to run redis server for this app
I installed and in file /etc/redis/redis.conf I uncommented line :
requirepass foobared
in .env I modified redis config…

mstdmstd
- 111
- 1
1
vote
0 answers
creating a local nginx subdomain for laravel
I currently have a working reverse proxy to a local domain: https://domain.test with an entry in
/etc/hosts
127.0.0.1 domain.test
https://domain.test goes to an spa website while https://domain.test/api goes to a laravel to handle all api calls.
I…

gmhafiz
- 11
- 2
1
vote
0 answers
Apache 502 bad gateway response when using AWS Application Load Balancer and Centos 7
I am new in Linux/centos, I configured a Laravel application in my AWS EC2 Instance (Centos 7),The application was working fine but after that I configured a Application Load Balancer to use path based routing, the application is working and…

Hasnain
- 11
- 2
1
vote
0 answers
Mysql in Nginx takes over 100% CPU
I have a Laravel application running on my Ubuntu 18.04 server and MySql 5.7.
Sometimes, it is very slow.
I have checked with "top" command and this is the result:
Some times %cpu raises over 140% for mysqld command, and i presume this is the…

pasluc74669
- 111
- 2
1
vote
1 answer
Can't deploy to Google Cloud Platform on Laravel
I got the following error while deploying laravel on GCP with "gcloud app deploy".
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build ID~~~ status: FAILURE
Error ID: 5888fcc4
Error type: UNKNOWN
Error message: Loading composer repositories…

imori
- 17
- 5
1
vote
0 answers
How can I configure a reverseproxy (at /) and a Laravel project (at /backoffice/) running in the same subdomain?
I'm trying to configure on Apache a subdomain that should:
Serve a PHP Laravel app if the request starts with /backoffice
ReverseProxy to a node app otherwise.
I can configure the reverse proxy and the Laravel independently but not at the same…

My Quid Pro Quo
- 11
- 3
1
vote
1 answer
Nginx error_page is not working
Im trying to have nuxtjs as front-end and laravel as backend with NGINX
After adding ssl and reconfiguring the nginx .conf file , Now my error_page line is not working and it does not go to location @php but instead it throws a front-end 404 ( nuxt…

Pc Monk
- 31
- 7
1
vote
0 answers
Channels current state is disconnected(laravel-websocket on ubuntu Host server)
I am working on Laravel-websocket package i got stucked on this error from quite long time.
i have configure basic laravel procject along with laravel websocket package on my local ubuntu as well as digitalocen ubuntu host server.I did same…

Gopi
- 11
- 2
1
vote
1 answer
nginx http (from android app) does not work. Https is working fine, and http was/is working fine in apache
Update: Sorry, my bad. For android 8+ we should have clartextTraffic=true in androidManifest.xml for http to work. This was done/present in my app but after enabling https and domain setup, I deleted that since that wasn't needed anymore. But when I…

Justin
- 11
- 2
0
votes
0 answers
VPS server issue: *1 connect() failed (111 connection refused) while connecting to upstream nginx
For some reason, I am unable to get my website working. I have followed all the steps from DevMarketer Laravel website deployment, but I am getting the following error:
502 Bad Gateway
nginx/1.16.1 (Ubuntu)
I am aware there is a problem with the…

georgios
- 1
- 1
0
votes
0 answers
Configuring database alarms for and AWS RDS datbase
I'm using an AWS RDS MySQL 8.0db.t3.micro 100GB DB for an app and am trying to determine the best alarms to set (the Laravel application is served through Vapor and through their UI, you can receive notifications if there are database spikes). Is…

Eric
- 111
- 1
0
votes
0 answers
Laravel: Logging messages generated by "error_log(...)" to terminal, while running app in Apache server
The issue is this one:
When I run a Laravel app from PHP server, that's it, with php artisan serve, I could see every message generated by "error_log(...)" printed in the terminal, like this:
leandro@leandro-Lenovo-B50-10:~/laravel-leaflet-example$…

Leandro Caplan
- 1
- 1
0
votes
1 answer
nginx config for SEO friendly Laravel setup
I wasn't able to find an immediate solution to the 3rd item, below, so once I'd worked it out, I thought it would be helpful to post my general config for Laravel in order to help others searching for the same.
These settings would suit sysadmins…

zoot
- 257
- 1
- 3
- 13
0
votes
0 answers
adding vlv(virtual list view) extension to openLDAP (LDAP) Server
Im currently working with LDAPRecord library in a Laravel project. I want to use a pagination function but it's required having virtual list view (vlv) extension to my ldap server
, I dont quite know the steps to add it but from what i found , I…
0
votes
0 answers
Migrating Snipe-IT asset Management from Docker to K8s
I have been running Snipe-it app (a Laravel based asset management software) on my Docker environment since a year ago, now I want to migrate it to K8s with its existing data, to move the data of the DB and Snipe app, I have created two persistent…