Comments (11)
Hello,
can you give me the output of the command :
nginx -V
from wordops.
from wordops.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Now that NGINX 1.25 has been made stable, when will WordOPs upgrade to 1.25? HOT 15
- Nginx keep crashing after updated wordops to v3.20.0 HOT 1
- Is there a way to tune the MySQL config settings specifically for my server? HOT 5
- Ubuntu 24.04 HOT 13
- Please fix issue: Query parameters missing when caching with wpsc HOT 2
- Http2.pro error: "ALPN: No ALPN, No NPN" HOT 2
- [Request] TCP Fast Open Support HOT 4
- problems with codes/commads HOT 2
- cannot import name 'distro' after upgrade to latest version HOT 7
- Cert expired, and not renewed HOT 1
- more_set_headers X-Powered-By : WordOps HOT 6
- Weird 301 redirection to my old domain HOT 3
- Getting ERR_INVALID_REDIRECT after update to v3.21.0 HOT 3
- Error after upgrading WO HOT 13
- Quic Protocol Error on Elementor Frontend.min.js asset HOT 8
- QUIC connection could not be established HOT 1
- Restarting Nginx [OK] Oops Something went wrong HOT 6
- eXtplorer is not working properly HOT 3
- Run "wo log show site.com" get error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 2326: invalid start byte" HOT 2
- Admin Dashboard displays no interface, only code HOT 2
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 wordops.