#Controlpanel Problem

1 messages · Page 1 of 1 (latest)

slate kindle
#

I did an update on the last version, now Sync users and servers don't work for me

fluid epoch
#

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

round lindenBOT
#

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)

slate kindle
#

-bash: nc: command not found

#

no nginx i use apache2

#

from today

fluid epoch
#

hmm logs seem fine

#

so how exactly do you know the sync dosent work

#

and what do you mean by that xD

slate kindle
#

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

fluid epoch
#

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

slate kindle
#

yes, but as I wrote on version 0.9, it worked without any problems

fluid epoch
#

but what worked without problems

#

xD

#

can you provide screenshots of the error message you see or anything alike?

slate kindle
#

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

fluid epoch
#

you cannot transfer data from pterodactyl to controlpanel

#

that never worked

#

how did you do that before?

slate kindle
#

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

fluid epoch
#

no. it never went in both directions

#

that cant be xD

#

@hardy matrix am i misunderstanding something?

icy lotus
slate kindle
#

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.

slate kindle
#

Well, if you, as developers of this project, don't trust me, then I don't know who else to turn to

hardy matrix
#

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

slate kindle
#

If the controlpanel can Sync user, then why not do it now?

hardy matrix
#

It actually doesnt sync users using the sync button

slate kindle
#

I'm not a programmer to understand that code unfortunately

hardy matrix
#

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

slate kindle
#

okay

hardy matrix
#

Ah yes, there is "import users from ptero" command using the php artisan cli

#

php artisan import:users

slate kindle
#

[ERROR] /var/www/controlpanel/storage/app/users.json is missing

hardy matrix
#

Ah this command is to import users that youve exported of cpgg (backups or anything :D)
This addon might help you out

#

@fluid epoch

slate kindle
#

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