Comments (16)
@emmigereb - looking into the issue on priority.
from wordpress-linux-appservice.
@rabollin when do you think we can expect a solution? We have clients with multisite and they can´t log in to their sub site ac the nginx setting is not working. How do we solve this?
from wordpress-linux-appservice.
@emmigereb - We are debugging this issue right now and need some time to understand the root cause. Can you please share the PHP version being used on those websites.
from wordpress-linux-appservice.
@emmigereb I have just tested the startup scripts, and it seems to be working fine. Can you please validate the logic in your startup script? Did you happen to change it recently, or maybe it got updated mistakenly?
Can you please run the script directly from WebSSH/SSH console using the below command?
bash /home/dev/startup.sh
from wordpress-linux-appservice.
@ZubaeyrMSFT i have this in startup.sh:
cp /home/nginx-default.conf /etc/nginx/conf.d/default.conf
/usr/sbin/nginx -s reload
But when i run bash /home/dev/startup.sh i get this:
"ginx: invalid option: "-s reload
The script is according to this page https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/running_post_startup_scripts.md and we have not changed it lately and before it was working.
from wordpress-linux-appservice.
@emmigereb - We are debugging this issue right now and need some time to understand the root cause. Can you please share the PHP version being used on those websites.
Publishing model: Container
Container Image: mcr.microsoft.com/appsvc/wordpress-alpine-php:latest
from wordpress-linux-appservice.
So, it looks like there is some syntax issue in the script. Would it be possible to share your script file? Does it contain only those two commands?
from wordpress-linux-appservice.
@ZubaeyrMSFT here is the startup.sh file
startup.sh.txt
from wordpress-linux-appservice.
- I see that there is a .txt extension to this file name. It should be simply startup.sh, not startup.sh.txt. There should be a file in /home/dev folder without txt extension. Please check.
- Also, I hope /home/nginx-default.conf file exists.
from wordpress-linux-appservice.
- I can´t upload .sh to github file so I added .txt. Of course is just startup.sh
- Yes /home/nginx-default.conf exists 😊 and as i said before it worked nicely until a couple of days ago.
from wordpress-linux-appservice.
@ZubaeyrMSFT or @rabollin we really need this to get working for the client today. Is there anything else you can do to help us?
from wordpress-linux-appservice.
Can we get on to a call @emmigereb ; a working session will help to resolve this issue.
from wordpress-linux-appservice.
@rabollin absolutely. Can you use emmi.gereb[at]softronic.se to book a teams meeting?
from wordpress-linux-appservice.
Does 9 PM IST works for you?
from wordpress-linux-appservice.
It works thank you.
from wordpress-linux-appservice.
Closing the issue as it has been resolved.
The issue was due to the special ^M carriage-return character added at end of each line. This was because the file was edited in DOS/Windows OS, whereas in Linux OS end-of-line is marked by a single newline.
from wordpress-linux-appservice.
Related Issues (20)
- Errors in Azure Email Logs - emails not getting sent HOT 4
- Terraform: An argument named "docker_image_name" is not expected here. HOT 1
- Startup script lacks permissions to modify nginx config files HOT 3
- [REOPEN] Images not displayed in editor #96 HOT 2
- Image uploads returning the wrong URL HOT 1
- unable to load ldap extension HOT 3
- [email protected] not working HOT 2
- Unable to convert to multisite. HOT 4
- Intl: is not installed, or has been disabled. HOT 5
- Export frozen @ 20% with no error HOT 2
- HSTS Preloading Should Be Opt-In
- Wordpress on Azure appservice email integration plugin missing HOT 8
- Startup Command Field HOT 3
- CUSTOM_DOMAIN not working correctly HOT 7
- Azure Communication Services Sending File Attachments HOT 8
- Downtime for updated images HOT 1
- Outdated PHP
- Enable / Disable phpmyadmin
- Application Insights for WordPress
- Question: Production & Staging Swap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-linux-appservice.