Fail to create '/.ssh' #101

Closed
opened 2025-11-02 03:08:56 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @rain0r on GitHub (Nov 30, 2016).

Description

I get this error message when starting gitea via supervisord. Starting as the gitea user ("git") works fine and without any problems.
This is the supervisord entry for gitea:

[program:gogs]
directory=/home/git/
command=/home/git/start-gitea.sh
autostart=true
autorestart=true
startsecs=10
stdout_logfile=/var/log/gogs/stdout.log
stderr_logfile=/var/log/gogs/stderr.log
user = git
environment = PATH="/usr/local/bin/:%(ENV_PATH)s"
environment = HOME="/home/git/", USER="git"
stopasgroup=true
Originally created by @rain0r on GitHub (Nov 30, 2016). - Gitea version (or commit ref): Git Service 0.9.99.0915 - Git version: 2.9.0 - Operating system: OpenBSD - Database (use `[x]`): - [X] PostgreSQL - [ ] MySQL - [ ] SQLite - Log gist:https://gist.github.com/rain0r/6c83dece2fbeebfb88bb14d9c8514113 ## Description I get this error message when starting gitea via supervisord. Starting as the gitea user ("git") works fine and without any problems. This is the supervisord entry for gitea: [program:gogs] directory=/home/git/ command=/home/git/start-gitea.sh autostart=true autorestart=true startsecs=10 stdout_logfile=/var/log/gogs/stdout.log stderr_logfile=/var/log/gogs/stderr.log user = git environment = PATH="/usr/local/bin/:%(ENV_PATH)s" environment = HOME="/home/git/", USER="git" stopasgroup=true
GiteaMirror added the issue/not-a-bug label 2025-11-02 03:08:56 -06:00
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

Sorry but I'm not familiar with supervisord. But I would like to know why don't you use the system init service? =)

@tboerger commented on GitHub (Nov 30, 2016): Sorry but I'm not familiar with supervisord. But I would like to know why don't you use the system init service? =)
Author
Owner

@rain0r commented on GitHub (Nov 30, 2016):

Good question, acutally! ;-)

I moved from Linux to OpenBSD and it was convenient to just copy the supervisord config.

However: it works with rc init.

@rain0r commented on GitHub (Nov 30, 2016): Good question, acutally! ;-) I moved from Linux to OpenBSD and it was convenient to just copy the supervisord config. However: it works with rc init.
Author
Owner

@tboerger commented on GitHub (Nov 30, 2016):

Ok, so let's close that for now since the regular init system works.

@tboerger commented on GitHub (Nov 30, 2016): Ok, so let's close that for now since the regular init system works.
Author
Owner

@strk commented on GitHub (Nov 30, 2016):

If Gitea source tree does include a supervisord script that does not work this ticket should remain open.

@strk commented on GitHub (Nov 30, 2016): If Gitea source tree does include a `supervisord` script that does not work this ticket should remain open.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#101