Docker Unable to update


#1

2019-03-05 22:11:37 EVENTQUEUE-FIRING-EVENT::Error while trying to update: [Errno 2] No such file or directory: ‘/opt/sickrage/sickrage/tests/test_tv.py’

Log File:
2019-03-05 22:25:41 DEBUG::EVENTQUEUE-FIRING-EVENT::Executing /usr/local/bin/pip show sickrage with your shell in /opt/sickrage
2019-03-05 22:25:43 DEBUG::EVENTQUEUE-FIRING-EVENT::/usr/local/bin/pip show sickrage returned : DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7., treat as error for now
2019-03-05 22:25:43 INFO::EVENTQUEUE-FIRING-EVENT::Pausing SHOWQUEUE
2019-03-05 22:25:43 DEBUG::EVENTQUEUE-FIRING-EVENT::Waiting for jobs in show queue to finish before updating
2019-03-05 22:25:43 INFO::EVENTQUEUE-FIRING-EVENT::Config backup in progress…
2019-03-05 22:25:43 INFO::EVENTQUEUE-FIRING-EVENT::Backing up main database to /config/main_db.pickle
2019-03-05 22:25:43 INFO::EVENTQUEUE-FIRING-EVENT::Backing up cache database to /config/cache_db.pickle
2019-03-05 22:25:45 INFO::EVENTQUEUE-FIRING-EVENT::Config backup successful, updating…
2019-03-05 22:25:47 DEBUG::EVENTQUEUE-FIRING-EVENT::Executing /usr/local/bin/pip show sickrage with your shell in /opt/sickrage
2019-03-05 22:25:49 DEBUG::EVENTQUEUE-FIRING-EVENT::/usr/local/bin/pip show sickrage returned : DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7., treat as error for now
2019-03-05 22:25:50 DEBUG::EVENTQUEUE-FIRING-EVENT::GET URL: https://git.sickrage.ca/SiCKRAGE/sickrage/raw/master/sickrage/version.txt [Status: 200]
2019-03-05 22:25:50 DEBUG::EVENTQUEUE-FIRING-EVENT::User-Agent: SiCKRAGE.CE.1/(Linux;3.10.105;da5d68ee-3f8a-11e9-8bca-0242ac110002)
2019-03-05 22:25:52 DEBUG::EVENTQUEUE-FIRING-EVENT::Executing /usr/local/bin/pip show sickrage with your shell in /opt/sickrage
2019-03-05 22:25:54 DEBUG::EVENTQUEUE-FIRING-EVENT::/usr/local/bin/pip show sickrage returned : DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7., treat as error for now
2019-03-05 22:25:54 INFO::EVENTQUEUE-FIRING-EVENT::Clearing out update folder /opt/sickrage/sickrage/sr-update before extracting
2019-03-05 22:25:55 INFO::EVENTQUEUE-FIRING-EVENT::Creating update folder /opt/sickrage/sickrage/sr-update before extracting
2019-03-05 22:25:55 INFO::EVENTQUEUE-FIRING-EVENT::Downloading update from u’https://git.sickrage.ca/SiCKRAGE/sickrage/repository/archive.tar?ref=master
2019-03-05 22:25:56 DEBUG::EVENTQUEUE-FIRING-EVENT::GET URL: https://git.sickrage.ca/SiCKRAGE/sickrage/repository/archive.tar?ref=master [Status: 200]
2019-03-05 22:25:56 DEBUG::EVENTQUEUE-FIRING-EVENT::User-Agent: SiCKRAGE.CE.1/(Linux;3.10.105;da5d68ee-3f8a-11e9-8bca-0242ac110002)
2019-03-05 22:26:14 INFO::EVENTQUEUE-FIRING-EVENT::Extracting file /opt/sickrage/sickrage/sr-update/sr-update.tar
2019-03-05 22:26:18 INFO::EVENTQUEUE-FIRING-EVENT::Deleting file /opt/sickrage/sickrage/sr-update/sr-update.tar
2019-03-05 22:26:18 INFO::EVENTQUEUE-FIRING-EVENT::Moving files from /opt/sickrage/sickrage/sr-update/sickrage-master-ee774bd082f03e61f5c19e24bfdddf572b45a180 to /opt/sickrage/sickrage
2019-03-05 22:26:18 ERROR::EVENTQUEUE-FIRING-EVENT::Error while trying to update: [Errno 2] No such file or directory: ‘/opt/sickrage/sickrage/tests/test_tv.py’
Traceback (most recent call last):
File “/opt/sickrage/sickrage/core/version_updater.py”, line 666, in update
shutil.move(old_path, new_path)
File “/opt/sickrage/sickrage/core/helpers/encoding.py”, line 72, in wrapper
result = f([ss(x) if isinstance(x, six.string_types) else x for x in args], **kwargs)
File “/usr/local/lib/python2.7/shutil.py”, line 316, in move
copy2(src, real_dst)
File “/usr/local/lib/python2.7/shutil.py”, line 144, in copy2
copyfile(src, dst)
File “/opt/sickrage/sickrage/core/helpers/encoding.py”, line 72, in wrapper
result = f(
[ss(x) if isinstance(x, six.string_types) else x for x in args], **kwargs)
File “/usr/local/lib/python2.7/shutil.py”, line 97, in copyfile
with open(dst, ‘wb’) as fdst:
IOError: [Errno 2] No such file or directory: ‘/opt/sickrage/sickrage/tests/test_tv.py’


#2

Make sure your on latest docker 9.4.80


#3

This did the trick by updating to 9.4.80

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock taisun/updater --oneshot sickrage