Closed
Description
- Gitea version (or commit ref): 1.5.0
- Git version: 2.17.1
- Operating system: Ubuntu 18.04
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
2018/08/11 16:54:30 [I] Log Mode: File(Info)
2018/08/11 16:54:30 [I] XORM Log Mode: File(Info)
2018/08/11 16:54:30 [I] Cache Service Enabled
2018/08/11 16:54:30 [I] Session Service Enabled
2018/08/11 16:54:30 [I] Mail Service Enabled
2018/08/11 16:54:30 [I] Notify Mail Service Enabled
2018/08/11 16:54:32 [I] Git Version: 2.17.1
2018/08/11 16:54:32 [...les/indexer/issue.go:64 InitIssueIndexer()] [E] InitIssuesIndexer: create index, mkdir /usr/local/bin/data: permission denied
Description
Fresh install. Done according to documentation, yet it attempts to create a subdirectory of its binary path, not in the working directory.
Started by supervisor with the following config:
[program:gitea]
directory=/var/lib/gitea
command=/usr/local/bin/gitea web -c /etc/gitea/app.ini
autostart=true
autorestart=true
startsecs=10
stdout_logfile=/var/log/gitea/stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stdout_capture_maxbytes=1MB
stderr_logfile=/var/log/gitea/stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10
stderr_capture_maxbytes=1MB
user = git
environment = HOME="/home/git", USER="git", GITEA_WORK_DIR="/var/lib/gitea"