- Issue created by @malcomio
- π¬π§United Kingdom malcomio
Possibly related to β¨ Can this module handle multiple files directories on one site? Closed: outdated
- Merge request !38Issue #3365703: Images not proxied when file_public_path does not match web root β (Closed) created by malcomio
- last update
almost 2 years ago 1 pass, 2 fail - last update
almost 2 years ago 1 pass, 2 fail - last update
over 1 year ago 1 pass, 2 fail - last update
over 1 year ago 1 pass, 2 fail - @malcomio opened merge request.
- last update
over 1 year 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.
- πΊπΈUnited States smustgrave
Can this has been fixed in 2.1.x dev branch?
- Status changed to Postponed: needs info
over 1 year 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 !61Issue #3365703: Images not proxied when file_public_path does not match web root β (Closed) created by malcomio
- Status changed to Active
over 1 year 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#...
- Status changed to Needs review
9 months ago 10:34am 11 July 2024 - Status changed to Needs work
9 months ago 12:33pm 11 July 2024 - π«π·France Julien Tekrane
julien tekrane β made their first commit to this issueβs fork.
- π«π·France Julien Tekrane
New MR based on 3.1.x branch
After 3.1.0 release, attached a static
https://www.drupal.org/files/issues/2024-08-12/stage_file_proxy-3365703-3.1.0.patch
file to be used with composer - Status changed to Needs review
5 months ago 8:50pm 7 November 2024 - πΊπΈUnited States smustgrave
If someone can confirm this addresses the issue for them.
- π¬π§United Kingdom malcomio
We've tested the change in merge request 81, and it seems to work as expected.
-
smustgrave β
committed 1539c8cb on 3.1.x
Issue #3365703 by malcomio, julien tekrane, smustgrave, a.dmitriiev,...
-
smustgrave β
committed 1539c8cb on 3.1.x
-
smustgrave β
committed 1ff925dc on 3.0.x
Issue #3365703 by malcomio, julien tekrane, smustgrave, a.dmitriiev,...
-
smustgrave β
committed 1ff925dc on 3.0.x
Automatically closed - issue fixed for 2 weeks with no activity.