Logo
Check list
Apache/2.4.52 (Ubuntu) is Present
PHP 8.1.2-1ubuntu2.17 is present.
Your videos directory must be writable
The video directory does not exists, AVideo had no permition to create it, you must create it manualy!
sudo mkdir /var/www/html/AVideo/videos

Then you can set the permissions (www-data means apache user).
sudo chown www-data:www-data /var/www/html/AVideo/videos && sudo chmod 777 /var/www/html/AVideo/videos 
Your post_max_size is 8M, it must be at least 100M
Edit the php.ini file
sudo nano /etc/php/8.1/fpm/php.ini
Your upload_max_filesize is 2M, it must be at least 100M
Edit the php.ini file
sudo nano /etc/php/8.1/fpm/php.ini
Site Configuration

Database