-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty response on /var/www/html
volume instead of /var/www/html/wp-content
#25
Comments
THat's not good. Can you share any more info on your context? Like what docker image you are using and details of configuration? The latest docker image should be: wpeverywhere/frankenwp:latest-php8.3 |
I have used 8.2 but the problem was solved after changing my volume from the entire html directory to only wp-content But why? |
I mean instead of
|
Since I need to fix the WordPress version to a fixed version. I want to be able to do that |
hm. That's interesting. I'm using the html for my version. is that folder empty locally when running with just /html? |
No I was switched from FPM image to this image So the directory was not empty |
hm. This could be challenging to troubleshoot without being able to see the changes. Can you paste the updated Dockerfile that you are using? |
I will And I applied changes from this repo by hand (Downloaded contents and placed them in the correct location according to Dockerfile that is in this project) |
My Dockerfile is working when I have only volumed the wp-content |
Here is my Dockerfile FROM wpeverywhere/frankenwp:latest-php8.2
RUN set -ex \
&& mkdir /tmp/source_guardian_install \
&& cd /tmp/source_guardian_install \
&& php_ext_dir="$(php -i | grep extension_dir | head -n1 | awk '{print $3}')" \
&& curl -fSL -o ixed.8.2.lin \
"https://www.sourceguardian.com/loaders/download.php?php_v=8.2.18&php_ts=1&php_is=8&os_s=Linux&os_r=6.1.0-20-amd64&os_m=x86_64" \
&& mv ./ixed.8.2.lin "${php_ext_dir}/" \
&& rm -rf /tmp/source_guardian_install \
&& echo "zend_extension = $php_ext_dir/ixed.8.2.lin" \
> /usr/local/etc/php/conf.d/00-source_guardian.ini
RUN apt-get update && \
apt-get install sendmail libnss3-tools -y |
Thanks. I'll check it out this week for you. |
@StephenMiracle thanks, |
/var/www/html
volume instead of /var/www/html/wp-content
@StephenMiracle |
I have switched from FPM to this image using sample provided in project, After that I'm getting empty response body
there is no failed log in the container or response body
The text was updated successfully, but these errors were encountered: