Coder Social home page Coder Social logo

Comments (11)

VirtuBox avatar VirtuBox commented on September 24, 2024

Hello,

can you give me the output of the command :

nginx -V

from wordops.

Facer66 avatar Facer66 commented on September 24, 2024

from wordops.

VirtuBox avatar VirtuBox commented on September 24, 2024

Hello,

okay, it's because you are still using the previous nginx.conf added by Nginx-wo package and we have made few modifications in this file.

Just download the new nginx.conf with the command :

wget -O /etc/nginx/nginx.conf https://raw.githubusercontent.com/WordOps/nginx-build/master/nginx/debian/conf/nginx.conf

And you will be able to reload nginx.

from wordops.

Facer66 avatar Facer66 commented on September 24, 2024

Hello,
BTW I used the install version from here: https://github.com/VirtuBox/wo-nginx-setup

I did what you suggested. Which fixed that problem.
After restarting nginx it failed with the following message: unknown directive "fastcgi_socket_keepalive" in /etc/nginx/conf.d/fastcgi.conf

Thx

from wordops.

VirtuBox avatar VirtuBox commented on September 24, 2024

Hello,

I have just pushed an update to fix this issue on wo-nginx-setup repository.
Just comment the following line in /etc/nginx/conf.d/fastcgi.conf :

fastcgi_socket_keepalive on;

from wordops.

yotpaul avatar yotpaul commented on September 24, 2024

Hey,

Seems like there are more directive issues with the config. I've tried purging nginx and re-installing to be met with:

root@vultr:~# tail -n 30 /var/log/wo/wordops.log
Unpacking nginx-wo (1.14.2-8ppa~stable) ...
Processing triggers for ufw (0.35-5) ...
^[[19~Processing triggers for ureadahead (0.100.0-20) ...
Setting up nginx-common (1.14.2-8ppa~stable) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up nginx-custom (1.14.2-8ppa~stable) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-03-21 10:14:57 UTC; 17ms ago
  Process: 5003 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
 Main PID: 13148 (code=exited, status=0/SUCCESS)

Mar 21 10:14:57 vultr.guest systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 21 10:14:57 vultr.guest nginx[5003]: nginx: [emerg] no port in upstream "php" in /etc/nginx/common/php.conf:9
Mar 21 10:14:57 vultr.guest nginx[5003]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 21 10:14:57 vultr.guest systemd[1]: nginx.service: Control process exited, code=exited status=1
Mar 21 10:14:57 vultr.guest systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 21 10:14:57 vultr.guest systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-custom (--configure):
 installed nginx-custom package post-installation script subprocess returned error exit status 1
Setting up nginx-wo (1.14.2-8ppa~stable) ...
Errors were encountered while processing:
 nginx-custom
E: Sub-process /usr/bin/dpkg returned an error code (1)
2019-03-21 10:15:00,236 (INFO) wo : Oops Something went wrong!!
2019-03-21 10:15:00,237 (ERROR) wo : Check the WordOps log for more details `tail /var/log/wo/wordops.log` and please try again...

(on an unrelated note, I get a lot of 500 issues with the Flarum forum for you guys, can't validate my email)

from wordops.

VirtuBox avatar VirtuBox commented on September 24, 2024

Hello @yotpaul ,
we haven't finished the install/update/migration script yet.
I'm going to open a PR which include a major update to the script.

The issue with email validation on the forum has been fixed.

from wordops.

yotpaul avatar yotpaul commented on September 24, 2024

Hello @yotpaul ,
we haven't finished the install/update/migration script yet.
I'm going to open a PR which include a major update to the script.

The issue with email validation on the forum has been fixed.

Thanks for the reply! I should've mentioned this in my previous message, this happened following a WordOps update rather than a fresh install

from wordops.

VirtuBox avatar VirtuBox commented on September 24, 2024

Hello @yotpaul ,
yes we made several changes in the structure during the past few weeks, without having an up-to date install script. That's why we still have to work on the install/update script, to handle migration from EEv3 but also from previous WordOps install.
It require to update all nginx configurations with the new versions, to make sure there isn't any outdated configuration.
I'm already running tests to identity all the possibles issues during migration from EEv3 or WO, and to add the proper directives to fix them in our install script.
It's currently the main task to perform before publishing the stable release.

from wordops.

yotpaul avatar yotpaul commented on September 24, 2024

Thanks @VirtuBox , looking forward for the fix.
Temporarily fixed the issue by configuring fastcgi_pass to unix:/run/php/php7.3-fpm.sock

from wordops.

VirtuBox avatar VirtuBox commented on September 24, 2024

I have pushed yesterday a first fix to force nginx configuration refresh during WO upgrade. Let me know if there is any issue.

from wordops.

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.