Skip to content
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

WEBSITES_ENABLE_APP_SERVICE_STORAGE = true #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WEBSITES_ENABLE_APP_SERVICE_STORAGE = true #12

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 2, 2018

As far as I tried, if we enable WEBSITES_ENABLE_APP_SERVICE_STORAGE=true on WordPress on Linux, files under /home/site/wwwroot became hostingstart.html
Since it mounts FileServer Storage, it shows that files under FileServer storage not WebWorker.
It means that we cannot use WordPress on Linux if WEBSITES_ENABLE_APP_SERVICE_STORAGE=true on current image.

So I changed it in order to copy them to under wwwroot. After that we can execute tar by sh files

As far as I tried, if we enable WEBSITES_ENABLE_APP_SERVICE_STORAGE=true on WordPress on Linux, files under /home/site/wwwroot became hostingstart.html 
Since it mounts FileServer Storage, it shows that files under FileServer storage not WebWorker.
It means that we cannot use WordPress on Linux if WEBSITES_ENABLE_APP_SERVICE_STORAGE=true on current image. 

So I changed it in order to copy them to under wwwroot. After that we can execute tar by sh files
@LeonZhang77
Copy link
Contributor

thanks for your PR. this is 0.1 version, and you will see some tiny issues and it's not support local redis well.

could you please try below one? we are keep updating it, it's faster and more stable.

https://github.com/Azure/app-service-quickstart-docker-images/tree/master/wordpress-alpine-php/0.51

you also can get container directly:
appsvcorg/wordpress-alpine-php:0.51(latest)

@ghost
Copy link
Author

ghost commented Jul 2, 2018

Hi @LeonZhang77 ,
Thanks so much. I will try your suggestion. The image is the default of WordPress on Linux so some other customers met the same issue I told. Should we ask them to do in same way ?

@LeonZhang77
Copy link
Contributor

yes, i think so.

Please let me know if you meet any issue with 0.51 version, you also can create issues in that repo, i will follow up.

@ghost
Copy link
Author

ghost commented Jul 2, 2018

Hi, I tried and found that it works even if WEBSITES_ENABLE_APP_SERVICE_STORAGE=true

@ghost
Copy link
Author

ghost commented Jul 2, 2018

I got 404 errors after I installed WordPress on that image.

image

I will check it and create PR if I need.

Thanks,
Keisuke

@LeonZhang77
Copy link
Contributor

could you please give me a repro steps? how to get this 404 issue? i will try.

No need to "install wordpress", after deploy, it will pull wordpress 4.9.6 source to /home/site/wwwroot, form Git repo: https://github.com/azureappserviceoss/wordpress-azure, branch: linux-appservice.

you can change which git repo/brnach you like to pull, by setting GIT_REPO and GIT_BRANCH.

@ghost
Copy link
Author

ghost commented Jul 2, 2018

Hi @LeonZhang77 ,

Thanks. Maybe some transient errors happened. I tried again by re-creating WordPress on Linux then worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant