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

Account verification doesn't work #63

Closed stemy2 closed 5 years ago

stemy2 commented 5 years ago

Hello,

I created an account, but the link of the verification mail gives me a blank page. Literally, the page's size is 0 bytes. And my account is still unverified.

yalh76 commented 5 years ago

did it was your first account created ? I've made that a lot of time, and nether get this issue...

did the account was already admin before using the link verification ?

stemy2 commented 5 years ago

Yes, this is the first. An the account is not already admin.

yalh76 commented 5 years ago

well, nether had that issue, do you tried to open the link from another browser or another computer ?

stemy2 commented 5 years ago

Yes, same problem everywhere.

yalh76 commented 5 years ago

well in that case, you can try to remove and reinstall to see if it works

raphgilles commented 5 years ago

I don't know if it's the same thing, but on my instance I has to disable the verification mail in my .env because it gave an error page (with the cat).

yalh76 commented 5 years ago

not sure if a blank page and the kitty page is the same error.

If someone can provide nginx logs when that happens, would be helpfull...

No one reporting mail verification issues in pixelfed upstream repository. Maybe it's pixelfed_ynh or YunoHost or server related (for example, only happens on Raspberry Pi, and the only guys enough crazy to install pixelfed on Raspberry Pi are Yunohosters)

raphgilles commented 5 years ago

I have just the ynh_overlay & ynh_portal in the error.log

2019/06/06 21:27:16 [error] 15719#15719: *53171 open() "/var/www/pixelfed/public/ynh_portal.js" failed (2: No such file or directory), client: 2a01:cb1d:83b4:1b00:b0b9:a4eb:bd0:945e, server: pixelfed.fr, request: "GET /ynh_portal.js HTTP/2.0", host: "pixelfed.fr", referrer: "https://pixelfed.fr/i/verify-email"
2019/06/06 21:27:16 [error] 15719#15719: *53171 open() "/var/www/pixelfed/public/ynh_overlay.css" failed (2: No such file or directory), client: 2a01:cb1d:83b4:1b00:b0b9:a4eb:bd0:945e, server: pixelfed.fr, request: "GET /ynh_overlay.css HTTP/2.0", host: "pixelfed.fr", referrer: "https://pixelfed.fr/i/verify-email"
2019/06/06 21:27:18 [error] 15719#15719: *53171 open() "/var/www/pixelfed/public/ynh_portal.js" failed (2: No such file or directory), client: 2a01:cb1d:83b4:1b00:b0b9:a4eb:bd0:945e, server: pixelfed.fr, request: "GET /ynh_portal.js HTTP/2.0", host: "pixelfed.fr", referrer: "https://pixelfed.fr/i/verify-email"
2019/06/06 21:27:18 [error] 15719#15719: *53171 open() "/var/www/pixelfed/public/ynh_overlay.css" failed (2: No such file or directory), client: 2a01:cb1d:83b4:1b00:b0b9:a4eb:bd0:945e, server: pixelfed.fr, request: "GET /ynh_overlay.css HTTP/2.0", host: "pixelfed.fr", referrer: "https://pixelfed.fr/i/verify-email"
yalh76 commented 5 years ago

That normal, it's related to https://github.com/YunoHost-Apps/pixelfed_ynh/issues/41, not solved yet, but no relations between that and the blank page

yalh76 commented 5 years ago

can you test with the last pixelfed_ynh. php parameters have been changed. you can execute: yunohost app install https://github.com/YunoHost-Apps/pixelfed_ynh --debug

stemy2 commented 5 years ago

OK, it works now.

renaudponcelet commented 5 years ago

For me the verification link leads me to : " Sorry, this page isn't available.

The link you followed may be broken, or the page may have been removed. Go back to Pixelfed. "

yalh76 commented 5 years ago

Can you provide the url of the verification link ?

renaudponcelet commented 5 years ago

Of course : https://pixelfed.zetmus.fr/i/confirm-email/PKiUPxhe37zd9xVJxpvaJJDxPeLvMn0kPlQYq2igAgSJGo2kX4fq2ofa2oOqowZs/MQPSzN7UQH0IuLN99zlHNtc5FsIuEV0gnIBYC9R8COZyw4HYdmP7wSga5omTHm6CRdo6VHMqtjgXlKCKzYRwtF2f3sqmvhegLLrELT2AxQ67bPT4AUgaRwd1r5LQdIrQ

yalh76 commented 5 years ago

I don't know is you made some changes but the link you provided seems to work for me and I was able to register an account on your pixelfed instance without email confirmation...

If you can delete the account I created

renaudponcelet commented 5 years ago

I disabled email confiramation meanwhile.. Sorry. I should be able to confirm my email adress anyway but i still have the same issue. And that brings me to the same page when i try to delete your acount.

yalh76 commented 5 years ago

can you check if the horizon service works ? Doing service pixelfed-horizon status

renaudponcelet commented 5 years ago

It seems to work. It gives me :

● pixelfed-horizon.service - pixelfed Horizon Service Loaded: loaded (/etc/systemd/system/pixelfed-horizon.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2019-08-12 14:19:37 BST; 19h ago Main PID: 577 (php7.3) Tasks: 22 (limit: 4915) CGroup: /system.slice/pixelfed-horizon.service ├─ 577 /usr/bin/php7.3 /var/www/pixelfed/artisan horizon ├─ 1390 /usr/bin/php7.3 artisan horizon:supervisor zetmusfr-tkvY:supervisor-1 redis --delay=0 --memory=128 --queue=high,default,feed --sleep=3 --timeout=60 --tries=3 --balance=auto --max-processes=20 --min-processes=1 --nice=0 ├─25215 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25216 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25217 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25218 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25219 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25220 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25221 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25222 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25223 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25224 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25225 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25226 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25227 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=default --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25229 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=feed --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25231 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=feed --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25232 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=feed --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25233 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=feed --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25234 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=feed --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 ├─25236 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=feed --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1 └─25282 /usr/bin/php7.3 artisan horizon:work redis --delay=0 --memory=128 --queue=high --sleep=3 --timeout=60 --tries=3 --supervisor=zetmusfr-tkvY:supervisor-1

yalh76 commented 5 years ago

Well, really don't understand what can happen, maybe you should ask at Pixelfed of wait to the next release

renaudponcelet commented 5 years ago

Ok, thank you for you help