Posts

Install Supervisor in Ubuntu

Step 1: Install Supervisor in Ubuntu To install supervisor in ubuntu you can use "apt-get" command line. Do note that you need to use "sudo" in order to run this command. sudo apt- get install supervisor Step 2: Supervisor Configuration The supervisor configuration can be located in "/etc/supervisor/conf.d" and from within this directory, you can create as many configurations as you like. /etc/ supervisor/conf.d For this example, we'll set up Laravel Horizon supervisor configuration. To create a new file from within the supervisor config directory called "horizon.conf" and the content of the file should be as follows. [program:horizon] process_name =%(program_name)s command =php /home/forge/example.com/artisan horizon autostart = true autorestart = true user =forge redirect_stderr = true stdout_logfile =/home/forge/example.com/horizon.log stopwaitsecs = 3600 Step 3: Start Supervisor Once you have created the configuration, you can start ...

php larvel ytmp3

  root@server:/home/backend.ytmp3.su/public_html# php artisan migrate --seed Application In Production! * Do you really wish to run this command? (yes/no) [no]: yes Nothing to migrate. Seeding: Database\Seeders\AdminSeeder In helpers.php line 284: ** **The given data was invalid.**** php artisan migrate:fresh https://ytmp3.su/ getting error when pasting yt urls No results No results found please enable Laravel Debug mode in .env file. in /b.ytmp3.su/storage/logs [2022-08-13 14:03:01] production.ERROR: array_merge(): Expected parameter 1 to be an array, null given {"exception":"[object] (ErrorException(code: 0): array_merge(): Expected parameter 1 to be an array, null given at /home/ytmp3/public_html/b.ytmp3.su/lib/Extractors/Youtube.php:0) [stacktrace] #0 /home/ytmp3/public_html/b.ytmp3.su/lib/Extractors/Youtube.php(0): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'array_merge(): ...', '/home/ytmp3/pub...', 0, Array) #1 /home/ytm...