Posts

Showing posts from November, 2024

Mbda portal config error

 ubuntu@ip-10-0-11-34:/var/www/html/laravel/mbda-data-portal$ ls -ld /var/www/html/laravel/mbda-data-portal/storage/framework/sessions drwxr-xr-x 2 ubuntu www-data 4096 Nov  3 12:07 /var/www/html/laravel/mbda-data-portal/storage/framework/sessions ubuntu@ip-10-0-11-34:/var/www/html/laravel/mbda-data-portal$ sudo chmod -R 775 /var/www/html/laravel/mbda-data-portal/storage /var/www/html/laravel/mbda-data-portal/bootstrap/cache ubuntu@ip-10-0-11-34:/var/www/html/laravel/mbda-data-portal$ sudo chown -R www-data:www-data /var/www/html/laravel/mbda-data-portal/storage /var/www/html/laravel/mbda-data-portal/bootstrap/cache ubuntu@ip-10-0-11-34:/var/www/html/laravel/mbda-data-portal$ php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear ubuntu@ip-10-0-11-34:/var/www/html/laravel/mbda-data-portal$ php artisan route:cache    INFO  Routes cached successfully.   ubuntu@ip-10-0-11-34:/var/www/html/laravel/mbda-data-portal$ ...

Gitlab Docker troubleshoot

some other command top, htop  Limit Docker Container Resources Since GitLab is using almost 60% of available memory, you can consider further limiting memory allocation to prevent it from using too much. You could set a hard limit slightly below 7.745 GiB: bash Copy code docker update --memory=6g --memory-swap=6g gitlab-web-1 top -o %MEM sudo docker stats gitlab-web-1 Sync the file system to ensure all data is written to disk (optional but recommended before clearing cache): bash Copy code sudo sync Clear PageCache only: bash Copy code sudo sysctl -w vm.drop_caches=1