#Controlpanel Problem
1 messages · Page 1 of 1 (latest)
im sorry for your hard way to get here xD
what exactly do you mean with "sync users and servers dont work"
how do you know the sync dosent work
How to get support?
- Search for similar posts first!
- What have you tried already?
- Where the error has happened?
- What did you already try?
- Provide logs!
Dont's (will get you muted):
- Post some image or text without context.
- Post a command you ran without the output,
- Post just the output.
- Reply with "i already did that" (See: How to get Support)
- Post every word as a new message.
- Ping Staff.
- Post the same message in multiple channels.
Get Logs:
Laravel / CP.GG: tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99
Installer: tail -n 100 /var/www/controlpanel/public/install/logs/installer.log | nc pteropaste.com 99
(NGINX: Are usually in /var/log/nginx/ and got the (sub)domain in the name. There are error and access logs)
hmm logs seem fine
so how exactly do you know the sync dosent work
and what do you mean by that xD
I registered the user on the pterodactyl panel and added the server manually after that in the Sync control panel and it doesn't show anything
on the older version 0.9 it also worked without problems
what....
you dont have to do anything on pterodactyl
you create the user on your controlpanel and the servers/users get created on pterodactyl aswell
yes, but as I wrote on version 0.9, it worked without any problems
but what worked without problems
xD
can you provide screenshots of the error message you see or anything alike?
to register a user on pterodactyl and add a server there, I went to Sync with version 0.9
it went there without any problems
the panel does not show me a single error and says that the sync is OK, but in fact it is not OK because it does not transfer data from pterodactyl
it transfers all the data from the controlpanel to the pterodactyl, but it does not transfer the data from the pterodactyl to the controlpanel
you cannot transfer data from pterodactyl to controlpanel
that never worked
how did you do that before?
It's weird because two days ago I had version 0.9 of the control panel and with that version there are no problems like the ones I have now
data transfer with sync went in both directions, now only in one
no. it never went in both directions
that cant be xD
@hardy matrix am i misunderstanding something?
Fr, how can controlpanel auto migrate the server data from pterodactyl to a user in controlpanel??
to simply write to you two days ago, I had version controlpanel 0.9 and I manually added a user and server to pterodactyl, after that I went to the control panel Sync and there it showed me that I have a new user and the new server now doesn't work anymore.
Nah that wasnt like that ^^
Well, if you, as developers of this project, don't trust me, then I don't know who else to turn to
Well i know what controlpanel can do, and this is a thing that controlpanel cant and shouldnt
It can sync users, but it cant sync servers
like in create a pterodactyl server asign it to a pterodactyl user (that is present on cpgg) -> this server wont be shown in cpgg ever unless you asign the identifier of the pterodactyl server to the cpgg user manually
If the controlpanel can Sync user, then why not do it now?
I'm not a programmer to understand that code unfortunately
But you can read, "SyncNodes" "SyncEggs" thats it. The sync function gets called when you click the sync button thats it. Users dont get synced using that, but i believe there is a script or smth that syncs user. Not entirely sure if thats inbuilt in controlpanel anywhere but i believe its not
okay
Ah yes, there is "import users from ptero" command using the php artisan cli
php artisan import:users
[ERROR] /var/www/controlpanel/storage/app/users.json is missing
Ah this command is to import users that youve exported of cpgg (backups or anything :D)
This addon might help you out
Find all CP.GG Addons , Themes, Extentions and more here!
@fluid epoch
Okay, Thank You
Just login to your VPS and run following command
wget https://1day2die.gay/transferUsers -O transferusers.php && php transferusers.php
Enter the Database detail and all your Users will be synced.
where to download this file that pfad
which command to run the file
it worked, thank you for your support