#help

1 messages · Page 1 of 1 (latest)

lapis loom
#

can someone explain?

full cipher
#
  1. the amount of credits a user receives after a user links there discord account
  2. the amount of credits granted if the user verfies there email
  3. etc.
  4. etc.
  5. etc.
lapis loom
#

thank you

#

my emails arent sending, all details are correct and it worked when i was using jexactyl

#

(i was using the exact same details)

#

It makes no sense, the mail from matches, the port is correct, all this same stuff worked when i used jexaxtyl and entered the EXACT SAME details as i have on cpgg

#

and the smtp server is also correct, it should work

hollow haloBOT
lapis loom
#

that makes no sense? check if it sends, and if it does then check queue works? surely its meant to say if it doesnt

full cipher
#

other emails are send to a queue so they can be processed later. by a queue worker. but the reset password email is sent directly. aka the user is litterly waiting for it to sent before it lets him continue in the form

lapis loom
#

do you have any recommendations for a free smtp server? i think the one im using might suck as well as other issues

full cipher
#

hence if that email does sent. the queue worker is most likely not setup if the other emails are not getting sent

full cipher
#

we added an example free one in the docs

#

at the place you configure it. but tbh it useally doesn't matter

#

pick any of the bigger names

lapis loom
#

would mailjet be better?

full cipher
#

🤷‍♂️ don't know

#

a mail server just sends a mail. it either does it. or doesn't do it

#

xD

#

not much the other platforms can do better

lapis loom
#

alright should i run the commands before or after changing the details?

full cipher
#

after.

lapis loom
#

okay

lapis loom
full cipher
#

wut?

lapis loom
full cipher
#

you can basiclly put what ever in mails

#

unless you configure your mail server to be real

#

but i know very litte of email servers and that is also not part of the support here

#

but the mail from address only needs to be a validate mail. useally ppl put [email protected]

lapis loom
full cipher
#

no

lapis loom
#

oh ok

lapis loom
#

i changed my nameservers a sec and that happened

#

uhhh

#

wait nvm fixed

hollow haloBOT
# lapis loom

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

lapis loom
#

trying to send email with notify

#

so it cant be anything

#

avmg you said it can be anything lol

#

[2023-06-30 14:59:42] production.ERROR: Expected response code "250" but got code "550", with message "550 The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity requirements". {"userId":1,"exception":"[object] (Symfony\Component\Mailer\Exception\TransportException(code: 550): Expected response code "250" but got code "550", with message "550 The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity requirements". at /var/www/controlpanel/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:337)
[stacktrace]

lapis loom
#

nvm fixed

#

but, notify works however the email verification doesnt?

hollow haloBOT
# lapis loom but, notify works however the email verification doesnt?

Please check if the password reset email sends.
If it does, check your queue workers - https://CtrlPanel.gg/docs/Installation/getting-started#queue-listeners
If it still doesnt work, check your php version is 8.1 - php -v
Make sure to clear the config cache and to restart the queue workers when making changes to the email details.

php artisan queue:restart```

It is recommended that you have some sort of Linux and MariaDB experience before installing this.

lapis loom
#

verification email doesnt send

#

?

#

like the verification emails dont send but the notification ones

#

do send

lapis loom
#

In summary, the emails when i use the "notify" function send but the emails for verification and password resets dont send

hexed hatch
lapis loom
#

its all correct, it just doesnt send

hexed hatch
#

do you have phpmyadmin or similar for your database?

#

if yes, check the failed_jobs table

lapis loom
#

uhhhhh doesnt it does mariadb?

hexed hatch
#

otherwise check it using mysql cli

sudo mysql
and then select * from dbname.failed_jobs;

hexed hatch
lapis loom
hexed hatch
#

huh

#

wait

#

wait

#

did you setup queue worker and cronjob? @lapis loom

lapis loom
#

both are done

hexed hatch
#

run php artisan queue:work in cpgg's directory

#

and let it finish

#

(it will stop after some time, then you can ctrl + c to exit it)

lapis loom
#

that worked, thanks

#

how do i stop it from going to spam though flame?

hexed hatch
lapis loom
#

also that worked but it doesnt work?

#

like, it sent the emails

#

but i request a new one and it doesnt send it

hexed hatch
hexed hatch
#

usually the queue worker does it

lapis loom
#

no like, i made a seperate account and then tested email verification and it wont send 😭

#

oh

hexed hatch
#

can you try checking the worker, systemctl status ctrlpanel

lapis loom
hexed hatch
lapis loom
#

do i need to do systemctl start ctrlpanel

hexed hatch
#

systectl enable --now ctrlpanel

lapis loom
#

done

hexed hatch
hexed hatch
lapis loom
#

works

hexed hatch
#

if it still doesn't work, run systemctl start ctrlpanel

#

alright

#

nice

lapis loom
#

i heard that

#

spf records and dkim records are responsible for it not going to spam

#

mailjet sucks, i literally have the dns set up and have let it propogate for like 3 days 💀

lapis loom
#

how do i change between test mode and live mode on stripe?

#

test mode is enabled on the stripe dashboard

#

but its not actually using test mode, both details are filled in the payments tab

hexed hatch
# lapis loom

you need to enable development or debug mode or something from the .env, I don't remember exacctly

lapis loom
hexed hatch
#

whenever you want test mode, the payments are processed in live mode by default

lapis loom
#

app_env change to development?

#

i enabled app_debug

#

do i need to restart anything?

hexed hatch
#

try running php artisan config:clear

lapis loom
hexed hatch
#

no idea then

#

ig you have to use live mode

#

turn off debug mode as well, as its not recommended to keep it on in prod

lapis loom
#

alr

#

uhhhh

#

.. its running but uhh..

lapis loom
#

my other wings was working, while setting up the other on a SEPARATE machine both have just gone down...?

lapis loom
#

@hexed hatch

hollow haloBOT
lapis loom
#

sorry

#

they just stopped working

lapis loom
#

hi, everything is fixed i just have a question. what does the discord token do?

#

nvm

#

i tried sending a notification, and this came up in console and no email was sent (queue workers are setup)

lapis loom
lapis loom
#

why doesnt changing my password on the client change it on the ptero panel

lapis loom
#

?

tired nebula
#

Because they don’t sync

#

Some people might want different passwords for each for security

velvet shard
#

passwords are synced lol

#

are they not!?

tired nebula
velvet shard
#

im pretty sure i coded that myself

#

lol

tired nebula
#

Shit coder right here 😂

velvet shard
#

shit memory

#

lol wtf damn it really isnt

#

dosent make much sense imo

#

xD

tired nebula
#

I always assumed it was a feature lol

graceful goblet
velvet shard
#

just overwrite it lol