Coder Social home page Coder Social logo

Comments (16)

rabollin avatar rabollin commented on June 12, 2024

@emmigereb - looking into the issue on priority.

from wordpress-linux-appservice.

emmigereb avatar emmigereb commented on June 12, 2024

@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.

rabollin avatar rabollin commented on June 12, 2024

@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.

ZubaeyrMSFT avatar ZubaeyrMSFT commented on June 12, 2024

@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.

emmigereb avatar emmigereb commented on June 12, 2024

@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 avatar emmigereb commented on June 12, 2024

@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.

ZubaeyrMSFT avatar ZubaeyrMSFT commented on June 12, 2024

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.

emmigereb avatar emmigereb commented on June 12, 2024

@ZubaeyrMSFT here is the startup.sh file
startup.sh.txt

from wordpress-linux-appservice.

ZubaeyrMSFT avatar ZubaeyrMSFT commented on June 12, 2024

@emmigereb

  1. 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.
  2. Also, I hope /home/nginx-default.conf file exists.

from wordpress-linux-appservice.

emmigereb avatar emmigereb commented on June 12, 2024

@ZubaeyrMSFT

  1. I can´t upload .sh to github file so I added .txt. Of course is just startup.sh
  2. Yes /home/nginx-default.conf exists 😊 and as i said before it worked nicely until a couple of days ago.

from wordpress-linux-appservice.

emmigereb avatar emmigereb commented on June 12, 2024

@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.

rabollin avatar rabollin commented on June 12, 2024

Can we get on to a call @emmigereb ; a working session will help to resolve this issue.

from wordpress-linux-appservice.

emmigereb avatar emmigereb commented on June 12, 2024

@rabollin absolutely. Can you use emmi.gereb[at]softronic.se to book a teams meeting?

from wordpress-linux-appservice.

rabollin avatar rabollin commented on June 12, 2024

Does 9 PM IST works for you?

from wordpress-linux-appservice.

emmigereb avatar emmigereb commented on June 12, 2024

It works thank you.

from wordpress-linux-appservice.

ZubaeyrMSFT avatar ZubaeyrMSFT commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.