#This always happens to me. I don't know why... And my panel doesn't work anymore either

1 messages · Page 1 of 1 (latest)

wild rose
#

And how can I fix it so that it doesn't come anymore?

fiery mortar
#

Helloooo, You got to read the first post here. Give that a look and then get us the logs so someone can help you. 500 is an incredibly generic error.

tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99

sacred abyssBOT
fiery mortar
#

thanks Roger.. good idea.

wild rose
#

Is that a command I have to enter?

fiery mortar
#

Correct! on the server (or servers) that host your panels. Since this is the cpgg Discord we can start with that one, though if your Pterodactyl is not working you may want to start there. Up to you.

wild rose
#

I've entered command but it still doesn't work...

#

Now something like this...

split mantle
#

ah yes the magic command didn't fix all problems

#

sadly it only reads log files which you can send here

#

so we can help you figure it out

fiery mortar
#

right.. im stumped if not @amvg... outputting the logs did not work?

split mantle
#

xD

fiery mortar
#

Pedro, did you update mysql/mariadb?

wild rose
#

Where can I find the logs?

sacred abyssBOT
# wild rose Where can I find the logs?

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

split mantle
#

if only roger knew where the logs where

sacred abyssBOT
fiery mortar
#

^ third time this has been given to you.

wild rose
fiery mortar
#

that will give you a link you can give to us. or let rodger decipher it.

wild rose
wild rose
fiery mortar
#

your install does not seem to have gone well!
now lets see the sql version,
mysql -v

#

DO NOT try things that arent fit for you. copy/pasting anything you see may be why you are in this situation.

wild rose
fiery mortar
#

ah yes.. this version of mariadb needs a small fix to work. I have to ask.. is this a fresh install?

#

but yes, try the fix in the link i sent.

wild rose
#

Should I reinstall everything again?

fiery mortar
#

it may not hurt, but just see what the fix does for you.

#

there is a giant red box that says "DANGER IF YOU HAVE MYSQL 11.3.2 DO THIS"

#

so. since you have 11.3.2 lets try that thing.

wild rose
#

I would rather reinstall everything again...

fiery mortar
#

it wont work unless you do this fix.

#

or somehow downgrade mysql which to me sounds like a nightmare.

wild rose
#

I did it, but he couldn't find some commands

fiery mortar
#

lets dig into that deeper.. what do you mean you could not find some commands? those may be important.

wild rose
fiery mortar
#

the main thing for this request is did you change character-set-collations?

wild rose
#

Don't think I did it, but I think so

fiery mortar
#

are you usuing ubuntu?

wild rose
#

No, Debian 11

fiery mortar
#

hmm

#

can you install php8.1?

wild rose
#

I Have

fiery mortar
#

apt install php8.1

wild rose
fiery mortar
#

okay then you can ignore the line about ondrej
but be VERY careful that the following commands succeed and you dont miss anything, if a php module fails you will have to google "how to install php8.1-WHATEVER" to get the answer that will work for you. I would say you can move on though.

fiery mortar
#

and please keep an eye out for that red block of text that tells you how to fix mysql so it will work.

#

postback if you hit a problem you cant solve too quickly.

wild rose
#

What do I have to do now?

fiery mortar
#

continue the install document.. just ignore the parts about ```

Add additional repositories for PHP, Redis, and MariaDB (for Debian 11 and Ubuntu 22.04)

LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash```

#

next step is update, then install some things, then install some more things.

#

like I said, work through the install, google if you get stuck, and let me know if googling doesnt help quickly. Ill try to help you if time permits. but you got to do the work yourself first.

If I cant, someone else will.

wild rose
fiery mortar
#

you can continue

wild rose
fiery mortar
#

you can ignore this, you already have mysql/mariadb

wild rose
#

Okay, now

#

Still doesn't work

fiery mortar
#

lets try something fun.

#

cd /etc/mysql

#

grep -rinse character-set-collation

wild rose
fiery mortar
#

yeah I wont help you anymore..

#

read and re-read the install document.

wild rose
#

Feedback will definitely be entered!

Have fun

icy veldt
#

Read danger section in the docs

split mantle