- Issue created by @malcomio
- 🇬🇧United Kingdom malcomio
Possibly related to ✨ Can this module handle multiple files directories on one site? Closed: outdated
- last update
about 1 year ago 1 pass, 2 fail - @malcomio opened merge request.
- last update
about 1 year ago 1 pass, 2 fail - last update
11 months ago 1 pass, 2 fail - last update
9 months ago 1 pass, 2 fail - @malcomio opened merge request.
- last update
9 months ago 1 pass, 2 fail - 🇬🇧United Kingdom malcomio
This issue also exists on the 2.1.x branch - updating the branch because 2.0.x is no longer supported.
- 🇦🇺Australia nterbogt
I believe this is the same issue that I'm seeing.
URL that comes in is
/sites/default/files/2022-05/Vivid.jpg
Proxy request is
stage_file_proxy.ERROR: Stage File Proxy encountered an error when retrieving file https://my.host///2022-05/Vivid.jpg
- 🇩🇪Germany a.dmitriiev
I have also encountered with the same problem. In my case the file public path on remote instance (
sites/remote_site/some_folder/files
) was not the same as locally (sites/default/files
). The origin_dir setting was set tosites/remote_site/some_folder/files
but stage file proxy was still trying to find the image insites/default/files
on remote. So it seems that the origin_dir setting has no effect at the moment. Only when I changed locally the path to file public folder tosites/remote_site/some_folder/files
in settings.local.php with:$settings['file_public_path'] = 'sites/remote_site/some_folder/files';
the files started proxying correctly.
- 🇩🇪Germany a.dmitriiev
It seems that other users saw the same problem https://www.drupal.org/project/stage_file_proxy/issues/3396633#comment-1... 🐛 Proxy does not work anymore Fixed and it was fixed in 2.1.x-dev. Maybe a new version will fix the current issue as well.
- Status changed to Postponed: needs info
6 months ago 2:13pm 13 December 2023 - 🇺🇸United States smustgrave
Doing a new release for 2.1.x could someone test if this is fixed please.
- Merge request !61Draft: Issue #3365703: Images not proxied when file_public_path does not match web root → (Open) created by malcomio
- Status changed to Active
6 months ago 5:21pm 15 December 2023 - 🇬🇧United Kingdom malcomio
Still observing this on 2.1.3 and 2.1.x - have started a new merge request against 2.1.x
https://git.drupalcode.org/project/stage_file_proxy/-/merge_requests/61#...