#Account

1 messages · Page 1 of 1 (latest)

tame stump
#

Any time someone tries to create a new membership it says they already have an account despite not having an account, in ptero OR cp

acoustic dawn
#

Please check if a user has been registered in pterodactyl

tame stump
#

it has not

#

it says the same thing with emails i've never used before

acoustic dawn
#

Send Logs Please

wispy tendonBOT
#

Can you please fetch the error logs, so we can assist you better regarding this error.
tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99

tame stump
#

removed it, it doesn't create logs when i create a user

acoustic dawn
#

send please logs link 🙂

tame stump
acoustic dawn
#

add your SMTP server to your cp.gg and pterodactyl .env

tame stump
#

the top is to do with my email setup, which is also broken, but it doesn't show anything about users

acoustic dawn
#

you will need to specify your smtp in both .env files

tame stump
#

in ptero too?

acoustic dawn
#

yes

tame stump
#

ok well that'll probably fix my email setup, but what about account creation?

acoustic dawn
#

pterodactyl makes strange errors when smtp setup is missing

tame stump
#

ok, are you familiar with setting up smtp? (im using mailcow for my mail server)

#
An error occurred while attempting to test mail settings: Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
acoustic dawn
acoustic dawn
#

it looks like there is a problem with the ssl

tame stump
#

idk the issue :/

acoustic dawn
tame stump
#

possibly, checking something

acoustic dawn
#

Unfortunately I can't help you with mailcow because I'm not familiar with it

tame stump
#

this is so confusing

acoustic dawn
#

what do you mean

tame stump
#

smtp won't work and idk why, user registration won't work and idk why

acoustic dawn
#

@tame stump if you want I'll give you a temp. an SMTP access so that you can continue for now

tame stump
#

i guess, just to see if thats whats causing the registration issues

acoustic dawn
#

i send access via DM

tame stump
#

ok

acoustic dawn
#

i have send

tame stump
#

ok, smtp works fully, i can notify myself now

#

let me test user registration

acoustic dawn
#

yes

tame stump
#

still says account exists

acoustic dawn
#

logs

tame stump
wispy tendonBOT
# tame stump https://pteropaste.com/nurb31

Your panel does not have the right permissions, try giving it some :)
sudo chmod -R 755 /var/www/controlpanel
and
sudo chown -R www-data:www-data /var/www/controlpanel

If you're using the installer, make sure to go back to the beginning and start the installer from step 1

tame stump
#

i keep having to do that

acoustic dawn
#

tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

tame stump
acoustic dawn
#

hm..

tame stump
#

is it an error with registration or email, or neither?

acoustic dawn
#

something with the database

tame stump
#

🤔

acoustic dawn
#

can i help you later I have to go to an appointment right away

tame stump
#

no problem

wispy tendonBOT
#

By default, we only allow users to make one account per IP address. to disable this,
head to /admin/settings and set REGISTER_IP_CHECK to false. If you have proxied your domain through Cloudflare, than you need to configure your nginx to grab the real ip address https://github.com/ergin/nginx-cloudflare-real-ip/

GitHub

This project aims to modify your nginx configuration to let you get the real ip address of your visitors. - GitHub - ergin/nginx-cloudflare-real-ip: This project aims to modify your nginx configura...

acoustic dawn
#

send me please .env SMTP Settings from Pterodactyl via DM

#

and do you have your webserver behind a cloudflare proxy?

tame stump
#

yes, but not all of them

tame stump
acoustic dawn
tame stump
#

i did it in the ptero panel, i have to do it both?

acoustic dawn
#

for pterodactyl .env and controlpanel .env

tame stump
#

changed the smtp settings in both .env, do i have to restart anything?

acoustic dawn
#

systemctl restart nginx

tame stump
#

done

acoustic dawn
#

try register

tame stump
#

registration works now

acoustic dawn
#

😉

acoustic dawn
#

now all you have to do is get your smtp server working and then everything will work

acoustic dawn
tame stump
#

i changed the smtp settings back to my server and i get 500 again

#

even after changing the .env files

acoustic dawn
#

logs

tame stump
#

the one that includes the date or just the normal one?

#

or sorry ptero or cp?

tame stump
acoustic dawn
#

there is a problem with ssl on your smtp server

tame stump
#

im consulting mailcow docs

acoustic dawn
tame stump
#

seen it

acoustic dawn
#

so I have to go first

#

I'll try to help you later

tame stump
#

no problem

acoustic dawn
tame stump
#

will take a look

#

HOLY HELL I GOT IT ALL TO WORK

#

i had to download my mail.flyken.xyz ssl cert and use it for mailcow manually

#

thank you all for your help, its helped me a lot, thank you for being patient with me, i really appreciate it!

keen kindle
#

Damn