publish button fix for error output and gitignore user files

- Error output on pulish button
- gitignore user files in `srv/files/*/[..]`