Don't know what I did but apparently I can't login as admin to my own blog 😒 I get this "502 Bad Gateway nginx" message...still have access to the installation directories though ... Suggestions?

@lopeztel were you able to access before? Try logging in from the same network (e.g 192.168.1.x) and making sure that’s what you have in Nginx

@blueberry it is, I think I deleted some custom table o shouldn't have from WPReset plug-in...πŸ™ƒ

@lopeztel You'll need to enable capturing of worker output in the php-fpm configuration to get failures in the php error log.

Otherwise limited failure information will be presented in the nginx logs.

@neildarlow been looking into this, apparently it is necessary to edit .htaccess file to get more useful I do in logs

@lopeztel .htaccess files aren't supported by nginx. You have to put appropriate rules in the nginx server configuration section.

@neildarlow That's going to be fun, I've never dealt with this kind of thing before, I let yunohost do everything for me. Time for a deep dive I guess πŸ™ƒ

@lopeztel @neildarlow Has it ever worked?

If not, Probably just nginx not pointing to php-fpm correctly. If I was near my PC I'd send some examples. Good luck :x

Definitely check /var/log/nginx/error.log

@idanoo @neildarlow was working before messing around with WordPress WP Reset plug-in πŸ˜‚

@lopeztel@fosstodon.org @idanoo@mastodon.nz @neildarlow@fosstodon.org Did you get it fixed? If not, it could be nginx not matching php version you have installed? Just a guess. If you had a vanilla install much easier to troubleshoot. Don't know much about yunohost.

Follow

@perfor @neildarlow @idanoo hi, thanks everyone for the tips! Long story short: I managed to fix it, full story in the blog of course πŸ˜‚ : lopeztel.xyz/2020/10/16/weird-

Β· Β· 0 Β· 0 Β· 2
Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.