Category : ubuntu

I have a server running Ubuntu 20.04 and Apache 2 that I use as a webserver. I made a configuration of a virtual host to point to a Laravel application, as you can see in the configuration file below. <VirtualHost laravel-8.test> DocumentRoot /var/www/laravel-8/public ServerName laravel-8.test <Directory "/var/www/laravel-8/public"> allow from all Options None Require all granted ..

Read more

Using this command in controller Artisan::call("storage:link"); No issue on shared hosting. On AWS EC2 returning this error message "symlink(): Permission denied ". on EC2 Terminal using this command php artisan storage:link same issue .. But sudo php artisan storage:link works fine.. I want to use this command Artisan::call("storage:link") without going to Terminal but how can ..

Read more

I am trying to run current version of laravel on raspberry pi. I have installed 64bit version of ubuntu, howerver, when running sail up to spin the containers, i get this error: I have also tried to change the mysql version in the docker-compose.yml from image: ‘mysql:8.0’ to image: ‘mysql:[email protected]:b3b2703de646600b008cbb2de36b70b21e51e7e93a7fca450d2b08151658b2dd’ however, the MySQL didn’t start ..

Read more

Everyone. I am using the correct a .htaccess file and put it into the Laravel directory and now my ubuntu server has the apache2 process. All is okay but not working correctly and executed the PHP code of my project. What is the solution´╝č I will attach my .htaccess file. <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ..

Read more

I have Ubuntu 18.04 and a fresh installation of Laravel 8. I want to use Xdebug together with Sail. I followed the instructions as follows: Added SAIL_XDEBUG_MODE=develop,debug to env Run sail build –no-cache and sail up -d Run docker inspect -f {{range.NetworkSettings.Networks}}{{.Gateway}}{{end}} <container-name> to get the IP of my docker container Added SAIL_XDEBUG_CONFIG="client_host=172.19.2.1" to env ..

Read more

Dusk Version: 6.17 Laravel Version: 8.5 PHP Version: 7.4.3 Database Driver & Version:mysql 8.0.26 Description: I am running laravel on Ubuntu along with laravel valet. My local domain is http://www.amlsuite24.test. I have installed Laravel Dusk with chrome driver version 92.0.4515.107 and have chromium-browser version 92.0.4515.131 installed. My DuskTestCase is as below: And my APP URL ..

Read more

I already saw the solution from this post: "https://stackoverflow.com/questions/50552970/laravel-docker-the-stream-or-file-var-www-html-storage-logs-laravel-log-co But this solution is not sufficient The problem is that if I do what is said in the solution, i.e. to run chown -R www-data:www-data * inside the Docker container – it also changes the permission on the actual folder in the Ubuntu host, not just ..

Read more

I deployed my app to aws ec2 linux server the first page is loading but other page do not open The error it show is on the picture below enter image description here This is what I added to /etc/httpd/conf/httpd.conf <VirtualHost *:80> ServerName 3.144.114.202 DocumentRoot /var/www/html/laraqueue/public <Directory /var/www/html/laraqueue> AllowOverride All </Directory> </VirtualHost> .htaccess <IfModule mod_rewrite.c> ..

Read more

My laravel website works as expected in 99% of the cases. But, some URLs give a 500 internal server error. When I check the log file it contains many lines like this: [access_compat:error] AH01797: client denied by server configuration: Below is the content of my host configuration file (apache) I’m using http authentication before my ..

Read more

As the documentation says for laravel sail I did install the sail package, Installed vendor via artisan. then $:./vendor/bin/sail up and this error triggers that says connection times out! But my internet is working fine as it is! what might be the solution can anyone help me in this regard? E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/manpages/manpages_5.10-1ubuntu0.1_all.deb ..

Read more

I found my /var/log/syslog is over than 100GB when i check the log i found memcached write all the log like below Jul 31 06:20:14 skybtc-v3 systemd-memcached-wrapper[665]: >27 Writing bin response: Jul 31 06:20:14 skybtc-v3 systemd-memcached-wrapper[665]: >27 0x81 0x0d 0x00 0x17 Jul 31 06:20:14 skybtc-v3 systemd-memcached-wrapper[665]: >27 0x04 0x00 0x00 0x00 Jul 31 06:20:14 skybtc-v3 ..

Read more