Thank you very much! Because of the solution in the n8n Forum I tried writing to the /app/data/.n8n/ folder, which is not writable, but I could just use /app/data/ as the path.
Did you check that /app/data/.n8n/ the .n8n folder exists? Because if does not n8n might not create it for you.
This could have also been your issue.