-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
📦 deploymentRelated to deploymentsRelated to deployments🙇♂️ help wantedNeed your helpNeed your help
Description
same issue as #1728, #1624 and some others.
ln: ./log/log: Operation not permitted
ln: ./data/data: Operation not permitted
ln: /home/git/git: Operation not permitted
2016/12/10 02:51:02 [T] Custom path: /data/gogs
2016/12/10 02:51:02 [T] Log path: /app/gogs/log
2016/12/10 02:51:02 [I] Gogs: Go Git Service 0.9.99.0915
2016/12/10 02:51:02 [I] Build Time: 2016-09-16 12:10:31 UTC
2016/12/10 02:51:02 [I] Build Git Hash:
2016/12/10 02:51:02 [I] Log Mode: File(Info)
2016/12/10 02:51:02 [I] Cache Service Enabled
2016/12/10 02:51:02 [I] Session Service Enabled
2016/12/10 02:51:02 [I] Mail Service Enabled
2016/12/10 02:51:02 [I] Git Version: 2.6.6
2016/12/10 02:51:03 [.../gogs/models/repo.go:146 NewRepoContext()] [E] Fail to execute 'git config --global core.quotepath false': error: failed to write new configuration file /data/git/.gitconfig.lock
bash-4.3# ls -al /data
total 484
drwxrwxrwx 5 git git 32768 Dec 9 02:54 .
drwxr-xr-x 1 root root 4096 Dec 10 02:44 ..
drwxrwxrwx 4 git git 32768 Dec 10 02:54 git
drwxrwxrwx 5 git git 32768 Nov 13 03:06 gogs
-rwx------ 1 git git 339968 Dec 4 03:39 gogs.db
drwxrwxrwx 2 git git 32768 Nov 13 03:07 ssh
gogs running in docker like this:
docker run -ti -d --name=gogs -p 10022:22 -p 10080:3000 -v /mnt/usb1/data_gogs:/data gogs/gogs-rpi
It seems that the file is being created and immediately deleted by the running gogs process:
bash-4.3# ls -l /data/git/.gitconfig.lock
-rwx------ 1 git git 0 Dec 10 03:24 /data/git/.gitconfig.lock
bash-4.3# ls -l /data/git/.gitconfig.lock
ls: /data/git/.gitconfig.lock: No such file or directory
Update. Gogs seems to have entered an infinite loop with git config process constantly being spawned :
bash-4.3# ps -ef
PID USER TIME COMMAND
1 root 0:00 /bin/s6-svscan /app/gogs/docker/s6/
20 root 0:00 s6-supervise openssh
21 root 0:00 s6-supervise syslogd
22 root 0:00 s6-supervise crond
23 root 0:06 s6-supervise gogs
24 root 0:00 /sbin/syslogd -nS -O-
26 root 0:00 /usr/sbin/sshd -D -f /app/gogs/docker/sshd_config
1901 root 0:00 bash
28172 git 0:00 /app/gogs/gogs web
28191 git 0:00 git config --global core.quotepath false
Metadata
Metadata
Assignees
Labels
📦 deploymentRelated to deploymentsRelated to deployments🙇♂️ help wantedNeed your helpNeed your help