#help
1 messages · Page 1 of 1 (latest)
- the amount of credits a user receives after a user links there discord account
- the amount of credits granted if the user verfies there email
- etc.
- etc.
- etc.
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
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.
that makes no sense? check if it sends, and if it does then check queue works? surely its meant to say if it doesnt
no it does make sense due to the way the emails are being sent
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
do you have any recommendations for a free smtp server? i think the one im using might suck as well as other issues
hence if that email does sent. the queue worker is most likely not setup if the other emails are not getting sent
ah i get it now
the one im using sucks
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
im using sendgrid currently
would mailjet be better?
🤷♂️ 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
after.
okay
where should i get a mail from email? should i just use something like zoho?
wut?
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]
do i need to create the email for it?
no
oh ok
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
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]
Understanding the difference between Domain Authentication and verifying a Single Sender.
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.
verification email doesnt send
?
like the verification emails dont send but the notification ones
do send
In summary, the emails when i use the "notify" function send but the emails for verification and password resets dont send
did you try checking in spam and bin folders of the mail client
yes
its all correct, it just doesnt send
do you have phpmyadmin or similar for your database?
if yes, check the failed_jobs table
uhhhhh doesnt it does mariadb?
otherwise check it using mysql cli
sudo mysql
and then select * from dbname.failed_jobs;
mariadb is a database server software, almost same as mysql, phpmyadmin is the database management tool
yes?
both are done
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)
it just sent me 15 verify emails fucking hell 💀
that worked, thanks
how do i stop it from going to spam though flame?
idk about that, you'll have to search on google or smth
also that worked but it doesnt work?
like, it sent the emails
but i request a new one and it doesnt send it
yeah because you previosly tried doing it over and over again
fair enough
yea because its just one time thingy
usually the queue worker does it
no like, i made a seperate account and then tested email verification and it wont send 😭
oh
can you try checking the worker, systemctl status ctrlpanel
yes, because, the artisan command runs the worker manually, and as soon as you exit from it, it stops
systectl enable --now ctrlpanel
done
yea, but i think its disabled, so just enable it and it will start as well
try the email thingy
works
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 💀
flame
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
you need to enable development or debug mode or something from the .env, I don't remember exacctly
everytime i want test mode or in general?
whenever you want test mode, the payments are processed in live mode by default
alright
where
app_env change to development?
i enabled app_debug
do i need to restart anything?
try running php artisan config:clear
did nothing
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
my other wings was working, while setting up the other on a SEPARATE machine both have just gone down...?
@hexed hatch
:warning: Do not ping staff members for support! :warning:
A staff member will try to help you as soon as possible but be patient!
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)
Allows your bot to log in to the discord api system
Check your email settings
why doesnt changing my password on the client change it on the ptero panel
?
Because they don’t sync
Some people might want different passwords for each for security
what
what
passwords are synced lol
are they not!?
They are not
Shit coder right here 😂
I always assumed it was a feature lol
How would you detect if it's set on ptero, it's just impossible 🙈
just overwrite it lol