I had identical scenario to you, was trying to run invoiceninja (and other laravel web apps) on Synology NAS using web station. web station is very poor and not customizable so was constantly encountering these seemingly random 500 errors which were always due to synology permissions or it just not liking some htaccess files. In web station you can change the web service profile to use nginx instead of apache. Ex:
For me that didn’t work stable for a long time plus it was not easy to update using webstation since you have to hack with the synology cli as root to run any php commands so it was just not sustainable. Still wanted to host it on synology, so just used the docker container version using the synology container station and it worked without any of these issues. Docker container version on synology was 100% stable, could easily run commands, and updates (because docker provides the ‘ideal environment’ that invoiceninja/laravel/php/web server expects).
Hum, thanks @icedroit
Now I’m having issues with email not being sent from Invoice Ninja setup. Was working as intended a few days ago
Will look into the Docker option hearing about your experience
Thanks!