YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

"Something went wrong" error after restoring backup to another server #152

Closed ashemsay closed 2 years ago

ashemsay commented 3 years ago

Describe the bug

When I login I have this message:

Something went wrong
We cannot process your request at this time, please try again later. Go back to Pixelfed.

Context

Steps to reproduce

Expected behavior

User is logged in

Logs

By tailing multiple files when the error occurs, I can see:

/var/log/nginx/pixelfed.domain.tld-access.log

x.x.x.x - - [30/Aug/2021:22:27:07 +0200] "POST /login HTTP/2.0" 500 4978 "https://pixelfed.domain.tld/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"

Nothing in:

- /var/log/nginx/error.log
- /var/log/pixelfed/pixelfed-horizon.log
- pixelfed.domain.tld-error.log
lapineige commented 3 years ago

Can you try to restart php7.3-fpm ?

ashemsay commented 3 years ago

Can you try to restart php7.3-fpm ?

No luck. What bothers me is that I have no detailed error... Is there another log file somewhere that I am missing?

lapineige commented 2 years ago

If you upgrade to v0.11.2 (just run Yunohost app upgrade process), does it solve the issue ? #163

ashemsay commented 2 years ago

It seems to be working fine, although the pixelfed app on android does not work anymore but that's not a real issue, I can use FF.

lapineige commented 2 years ago

Ok, that's good to know and kind of problematic for the app… Thanks for sharing this :)

ashemsay commented 2 years ago

Little mistake, the app is not pixelfed, it's pixeldroid. I get a "Impossible d'enregistrer l'application sur ce server" (Could not register the application on this server). I could create another issue if you would like to keep track of that.

lapineige commented 2 years ago

I think that would be a good think, especially if you could document it (with for instance Nginx/Pixelfed/Pixeldroid logs showing a particular error…) if you have the time and ability to do it :)

Maybe it's related to https://github.com/YunoHost-Apps/pixelfed_ynh/issues/140 ?

ashemsay commented 2 years ago

I tried the php artisan commands, now I get the authorization page everytime but can't login, anyway I created a new issue: #167