git fail with permissions
ocalvo opened this issue · 2 comments
ocalvo commented
If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.
Expected Behavior
Git command are able to run
Current Behavior
Check version fails:
sickchill | 17:39:00 INFO::CHECKVERSION :: Checking for updates using GIT
sickchill | 17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git symbolic-ref -q HEAD returned :
sickchill | None
sickchill | 17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git config remote.origin.url https://github.com/SickChill/SickChill.git returned code 255, treating as error : error: could not lock config file .git/config: Permission denied
sickchill | None
sickchill | 17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git fetch origin --prune returned code 255, treating as error : error: cannot open .git/FETCH_HEAD: Permission denied
sickchill | None
sickchill | 17:39:00 WARNING::CHECKVERSION :: Unable to contact github, can't check for update
Steps to Reproduce
- Create a new container for sickchil
Environment
OS: Qnap
CPU architecture: x86_64
How docker service was installed: Qnap Docker Station
Command used to create docker container (run/create/compose/screenshot)
---
version: "2"
services:
sickrage:
image: linuxserver/sickchill
container_name: sickchill
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- /share/config/SickChill:/config
- /share/Downloads/complete:/downloads
- /share/Videos/TV:/tv
- /share/Videos/Kids/TV:/kids_tv
ports:
- 8181:8081
restart: unless-stopped
Docker logs
[/share/config/compose] # docker logs sickchill
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
Setting permissions
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
17:39:00 ERROR::MAIN :: [e9ccfe4] git symbolic-ref -q HEAD returned :
None
17:39:00 INFO::MAIN :: Starting SickChill [] using '/config/config.ini'
17:39:00 INFO::WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
17:39:00 INFO::CHECKVERSION :: Checking for updates using GIT
17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git symbolic-ref -q HEAD returned :
None
17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git config remote.origin.url https://github.com/SickChill/SickChill.git returned code 255, treating as error : error: could not lock config file .git/config: Permission denied
None
17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git fetch origin --prune returned code 255, treating as error : error: cannot open .git/FETCH_HEAD: Permission denied
None
17:39:00 WARNING::CHECKVERSION :: Unable to contact github, can't check for update
17:44:00 INFO::POSTPROCESSOR :: Auto post processing task for /downloads was added to the queue
17:44:00 INFO::POSTPROCESSOR-AUTO :: Beginning auto post processing task: /downloads
17:44:00 INFO::POSTPROCESSOR-AUTO :: Processing /downloads
17:44:04 INFO::POSTPROCESSOR-AUTO :: Successfully processed
17:44:04 INFO::POSTPROCESSOR-AUTO :: Auto post processing task for /downloads completed
17:49:00 INFO::DAILYSEARCHER :: Searching for new released episodes ...
17:49:01 INFO::DAILYSEARCHER :: No new released episodes found ...
17:49:05 INFO::SEARCHQUEUE-DAILY-SEARCH :: Beginning daily search for new episodes
17:49:20 INFO::SEARCHQUEUE-DAILY-SEARCH :: No needed episodes found
aptalca commented
Harmless errors
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.