Open daufinsyd opened 20 hours ago
What is the templateDirectory set to for your account? e.g.
occ user:setting <account> core templateDirectory
And is it a folder within that account? e.g.
ls data/
Hi, thank your for your response. Indeed the output pointed to some md file
/gmi/news (+202) old project.md
honestly I have no idea how it happened in the first place, given I wasn't even aware such a command exists.
Setting it to empty solved the issue
occ user:setting <account> core templateDirectory ''
It would be really nice if nextcloud handled such error in a more user friendly way, so that the user knows from the ui when creating new files, that the template dir is incorrect or something (instead of doing nothing but raising this error in the logs)
⚠️ This issue respects the following points: ⚠️
Bug description
Hello when trying to create a new file (ex text file / doc file ...) nothing happens and nextcloud throws the following error:
The server responds with a HTTP500 to ocs/v2.php/apps/files/api/v1/templates
Creating folder or files from other app (eg. drawio files) does work.
Steps to reproduce
Expected behavior
The desired file is created.
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 28 to 29)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
The error appeared with nextcloud 30 as far as I can remember. Updating to 30.0.1 and 30.0.2 didn't help.