Replies: 10 comments
-
I would like you to check what your permissions are in the To do this you can use the command |
Beta Was this translation helpful? Give feedback.
-
Check if permissions are shown to you properly as they appear to me |
Beta Was this translation helpful? Give feedback.
-
I only have 1 file in the cache folder: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
this is in the app folder, which cache is not here this is in the root folder where cache is located: I'm doing this inside the docker I hope it is the right way? Thanks for the help btw |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Also there seems to be a blockage that I had in the past
I would recommend you to try using a VPN like proton vpn to bypass this block (it worked for me) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm already using proxy through my side router which is running passwall tunneling my internet traffic through a remote server. I'll try the VPN solution, maybe my remote server is blocked. |
Beta Was this translation helpful? Give feedback.
-
I'm also getting this issue installing immich on a qnap, doesn't matter what installation method I use, Installed on an HP proliant running ubuntu and it works fine. tried changing folder permissions to no avail. |
Beta Was this translation helpful? Give feedback.
-
The bug
When I try to search, using web or app, it does not give any result, checking the log of docker immich_machine_learning, it gives the following log, shows that the models needed was not downloaded, seems it does not even have the permission to make the folder. I try to manually make the folders, the log changes a bit (from folder not exist to unable to download)
File "/usr/src/app/main.py", line 121, in load
await loop.run_in_executor(app.state.thread_pool, _load)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/main.py", line 101, in _load
model.load()
File "/usr/src/app/models/base.py", line 65, in load
self.download()
File "/usr/src/app/models/base.py", line 60, in download
self._download()
File "/usr/src/app/models/base.py", line 84, in _download
snapshot_download(
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/_snapshot_download.py", line 189, in snapshot_download
repo_info = api.repo_info(repo_id=repo_id, repo_type=repo_type, revision=revision, token=token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/hf_api.py", line 1888, in repo_info
return method(
^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/hf_api.py", line 1697, in model_info
r = get_session().get(path, headers=headers, timeout=timeout, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 63, in send
return super().send(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/immich-app/ViT-B-32__openai/revision/main (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f57aeb8c390>: Failed to establish a new connection: [Errno 111] Connection refused'))"), '(Request ID: 184bad77-76e5-48ba-862b-5cf24aef50b8)')
[11/19/23 00:34:19] INFO Downloading clip model 'ViT-B-32__openai'.This may
take a while.
[11/19/23 00:34:19] WARNING Failed to load clip model
'ViT-B-32__openai'.Clearing cache and retrying.
[11/19/23 00:34:19] INFO Cleared cache directory for model
'ViT-B-32__openai'.
[11/19/23 00:34:19] INFO Downloading image classification model
'microsoft/resnet-50'.This may take a while.
[11/19/23 00:34:19] WARNING Failed to load clip model
'ViT-B-32__openai'.Clearing cache and retrying.
[11/19/23 00:34:19] INFO Cleared cache directory for model
'ViT-B-32__openai'.
[11/19/23 00:34:19] INFO Downloading clip model 'ViT-B-32__openai'.This may
take a while.
[11/19/23 00:34:19] WARNING Failed to load image-classification model
'microsoft/resnet-50'.Clearing cache and retrying.
[11/19/23 00:34:19] WARNING Attempted to clear cache for model
'microsoft/resnet-50' but cache directory does not
exist.
[11/19/23 00:36:29] INFO Downloading clip model 'ViT-B-32__openai'.This may
take a while.
[11/19/23 00:36:29] WARNING Failed to load clip model
'ViT-B-32__openai'.Clearing cache and retrying.
[11/19/23 00:36:29] WARNING Attempted to clear cache for model
'ViT-B-32__openai' but cache directory does not
exist.
[11/19/23 00:38:40] WARNING Failed to load clip model
'ViT-B-32__openai'.Clearing cache and retrying.
[11/19/23 00:38:40] INFO Downloading clip model 'ViT-B-32__openai'.This may
take a while.
[11/19/23 00:38:40] WARNING Attempted to clear cache for model
'ViT-B-32__openai' but cache directory does not
exist.
[11/19/23 00:40:51] INFO Downloading facial recognition model
'buffalo_l'.This may take a while.
[11/19/23 00:40:51] WARNING Failed to load clip model
'ViT-B-32__openai'.Clearing cache and retrying.
[11/19/23 00:40:51] WARNING Attempted to clear cache for model
'ViT-B-32__openai' but cache directory does not
exist.
[11/19/23 00:43:02] INFO Downloading clip model 'ViT-B-32__openai'.This may
take a while.
[11/19/23 00:43:02] WARNING Failed to load facial-recognition model
'buffalo_l'.Clearing cache and retrying.
[11/19/23 00:43:02] WARNING Attempted to clear cache for model 'buffalo_l' but
cache directory does not exist.
[11/19/23 00:45:13] INFO Downloading clip model 'ViT-B-32__openai'.This may
take a while.
[11/19/23 00:45:13] WARNING Failed to load clip model
'ViT-B-32__openai'.Clearing cache and retrying.
[11/19/23 00:45:13] WARNING Attempted to clear cache for model
'ViT-B-32__openai' but cache directory does not
exist.
The OS that Immich Server is running on
Debian GNU/Linux 11 (bullseye)
Version of Immich Server
v1.87.0
Version of Immich Mobile App
v1.87.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
1.compose the dockers 2.upload some photos 3.try to search for anything 4.no result ...
Additional information
I was trying to follow this issue:
#4117
to download the files manually but the link has expired
Beta Was this translation helpful? Give feedback.
All reactions