You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated via terminal and now cannot access localhost, and the 4cat_frontend container keeps restarting, here's a copy of the log:
2024-05-15 12:57:32 4CAT migration agent
2024-05-15 12:57:32 ------------------------------------------
2024-05-15 12:57:32 Interactive: no
2024-05-15 12:57:32 Pull latest release: no
2024-05-15 12:57:32 Pull branch: no
2024-05-15 12:57:32 Restart after migration: no
2024-05-15 12:57:32 Repository URL: https://github.com/digitalmethodsinitiative/4cat.git
2024-05-15 12:57:32 .current-version path: config/.current-version-frontend
2024-05-15 12:57:34
2024-05-15 12:57:34 WARNING: Migration can take quite a while. 4CAT will not be available during migration.
2024-05-15 12:57:34 If 4CAT is still running, it will be shut down now (forcibly if necessary).
2024-05-15 12:57:34
2024-05-15 12:57:34 - No PID file found, assuming 4CAT is not running
2024-05-15 12:57:34 - Version last migrated to: 1.42
2024-05-15 12:57:34 - Code version: 1.42
2024-05-15 12:57:34 ...already up to date.
2024-05-15 12:57:35 Traceback (most recent call last):
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/runpy.py", line 185, in _run_module_as_main
2024-05-15 12:57:35 mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/runpy.py", line 111, in _get_module_details
2024-05-15 12:57:35 import(pkg_name)
2024-05-15 12:57:35 File "/usr/src/app/helper-scripts/migrate.py", line 297, in
2024-05-15 12:57:35 finish(args, logger)
2024-05-15 12:57:35 File "/usr/src/app/helper-scripts/migrate.py", line 91, in finish
2024-05-15 12:57:35 check_for_nltk()
2024-05-15 12:57:35 File "/usr/src/app/helper-scripts/migrate.py", line 76, in check_for_nltk
2024-05-15 12:57:35 nltk.data.find('corpora/wordnet')
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 555, in find
2024-05-15 12:57:35 return find(modified_name, paths)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 542, in find
2024-05-15 12:57:35 return ZipFilePathPointer(p, zipentry)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/compat.py", line 41, in _decorator
2024-05-15 12:57:35 return init_func(*args, **kwargs)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 394, in init
2024-05-15 12:57:35 zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile))
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/compat.py", line 41, in _decorator
2024-05-15 12:57:35 return init_func(*args, **kwargs)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 935, in init
2024-05-15 12:57:35 zipfile.ZipFile.init(self, filename)
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/zipfile.py", line 1271, in init
2024-05-15 12:57:35 self._RealGetContents()
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/zipfile.py", line 1338, in _RealGetContents
2024-05-15 12:57:35 raise BadZipFile("File is not a zip file")
2024-05-15 12:57:35 zipfile.BadZipFile: File is not a zip file
Can anyone help me out? I even tried deleting the containers and reinstalling from scratch, to no avail.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I updated via terminal and now cannot access localhost, and the 4cat_frontend container keeps restarting, here's a copy of the log:
2024-05-15 12:57:32 4CAT migration agent
2024-05-15 12:57:32 ------------------------------------------
2024-05-15 12:57:32 Interactive: no
2024-05-15 12:57:32 Pull latest release: no
2024-05-15 12:57:32 Pull branch: no
2024-05-15 12:57:32 Restart after migration: no
2024-05-15 12:57:32 Repository URL: https://github.com/digitalmethodsinitiative/4cat.git
2024-05-15 12:57:32 .current-version path: config/.current-version-frontend
2024-05-15 12:57:34
2024-05-15 12:57:34 WARNING: Migration can take quite a while. 4CAT will not be available during migration.
2024-05-15 12:57:34 If 4CAT is still running, it will be shut down now (forcibly if necessary).
2024-05-15 12:57:34
2024-05-15 12:57:34 - No PID file found, assuming 4CAT is not running
2024-05-15 12:57:34 - Version last migrated to: 1.42
2024-05-15 12:57:34 - Code version: 1.42
2024-05-15 12:57:34 ...already up to date.
2024-05-15 12:57:35 Traceback (most recent call last):
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/runpy.py", line 185, in _run_module_as_main
2024-05-15 12:57:35 mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/runpy.py", line 111, in _get_module_details
2024-05-15 12:57:35 import(pkg_name)
2024-05-15 12:57:35 File "/usr/src/app/helper-scripts/migrate.py", line 297, in
2024-05-15 12:57:35 finish(args, logger)
2024-05-15 12:57:35 File "/usr/src/app/helper-scripts/migrate.py", line 91, in finish
2024-05-15 12:57:35 check_for_nltk()
2024-05-15 12:57:35 File "/usr/src/app/helper-scripts/migrate.py", line 76, in check_for_nltk
2024-05-15 12:57:35 nltk.data.find('corpora/wordnet')
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 555, in find
2024-05-15 12:57:35 return find(modified_name, paths)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 542, in find
2024-05-15 12:57:35 return ZipFilePathPointer(p, zipentry)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/compat.py", line 41, in _decorator
2024-05-15 12:57:35 return init_func(*args, **kwargs)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 394, in init
2024-05-15 12:57:35 zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile))
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/compat.py", line 41, in _decorator
2024-05-15 12:57:35 return init_func(*args, **kwargs)
2024-05-15 12:57:35 File "/opt/venv/lib/python3.8/site-packages/nltk/data.py", line 935, in init
2024-05-15 12:57:35 zipfile.ZipFile.init(self, filename)
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/zipfile.py", line 1271, in init
2024-05-15 12:57:35 self._RealGetContents()
2024-05-15 12:57:35 File "/usr/local/lib/python3.8/zipfile.py", line 1338, in _RealGetContents
2024-05-15 12:57:35 raise BadZipFile("File is not a zip file")
2024-05-15 12:57:35 zipfile.BadZipFile: File is not a zip file
Can anyone help me out? I even tried deleting the containers and reinstalling from scratch, to no avail.
Beta Was this translation helpful? Give feedback.
All reactions