Uploading big files to Castopod on YuNoHost

Find PHP version being used:

> matt@example:/etc/php$ tail ynh_app_version
> castopod:8.0

Update `memory_limit` in `sudo nano /etc/php/8.0/fpm/php.ini`

Restarted PHP 8 service, getting `504 Gateway Time-out nginx` now. Progress?

Then set `client_max_body_size` in here to 700 rather than 600:
`matt@example:/etc/nginx/conf.d/castopod.example.net.d$ sudo nano castopod.conf`

Then set `max_execution_time` to 90 at `sudo nano /etc/php/8.0/fpm/php.ini`

Restart nginx and PHP services (I used https://example.net/yunohost/admin/#/services).

Redis server weirdness and workaround

Don’t have a better title yet. Sometimes bug email lists are the best way to find answers!

After installing Nextcloud using yunohost (which is awesome so far), the Redis server crashed and couldn’t be restarted. Turns out a couple cifs (Samba) drives I was mounting in fstab were preventing Redis from starting.

I unmounted the drives, started Redis through yunohost, and then remounted the drives. If I have to reboot, will probably have to go through this again, so not an ideal solution.

Error message:

Jul 19 22:14:46 systemd[1]: Failed to start Advanced key-value store.

Solution figured out from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834551#27.