[SOLVED] Internal Server Error - The server encountered an internal error and was unable to complete your request. By change system files

@Alex2222000

yeah sh1t happens :poop:

see default path How to manage Nextcloud snap logs

example: (never copy & paste, always double check!)

nextcloud.occ config:system:set log_type file
nextcloud.occ config:system:set logfile --value=/var/snap/nextcloud/current/logs/nextcloud.log

example:
grafik

edit that config.php manually and take care to preserve the syntax and special characters, as incorrect formatting or misplaced characters and spaces may render your Nextcloud unusable.