ULX

Author Topic: Backups  (Read 3374 times)

0 Members and 1 Guest are viewing this topic.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Backups
« on: December 28, 2013, 12:09:01 AM »
How often does ULX create backups of groups, bans, etc?

I'm asking because as soon as a new map loaded, everyone's
rank was set to user.

And I currently cannot access the server console due to an
issue within the server host.

So, how often are group backups made?

Or do they update with each change to the group.txt?
Out of the Garry's Mod business.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Backups
« Reply #1 on: December 28, 2013, 08:05:16 AM »
Backups are only created if ULib is trying to recover a seemingly corrupted file.

What gamemode are you running?
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Backups
« Reply #2 on: December 28, 2013, 09:15:27 AM »
Or do they update with each change to the group.txt?

Megiddo, you didn't answer one of his questions.
And, I've just looked over the ulib and ulx codebase for a few minutes and couldn't find the exact answer.
I know that the ucl.groups table is updated anytime an access change occurs due to a ulib group or access command being run, however, when is that data applied to group and or users.txt?

And, Ven01273, knowing the game mode would still help us start a path.
I've seen many posts recently for DarkRP "my group changed/reset!" issues, even with Fadmin supposedly disabled.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Backups
« Reply #3 on: December 28, 2013, 12:12:55 PM »
The gamemode is TTT, and I've already searched the forums for
something like this and I only found DarkRP issues relating to FAdmin.

This is just ULX itself, since I was pretty much locked out
of my server's console and ftp.

EDIT: I recently regained access to the ftp and found that users.txt had been wiped.
« Last Edit: December 28, 2013, 02:07:23 PM by Ven01273 »
Out of the Garry's Mod business.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Backups
« Reply #4 on: December 28, 2013, 05:43:57 PM »
Was it empty, or gone?

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Backups
« Reply #5 on: December 28, 2013, 05:53:58 PM »
Empty.
Out of the Garry's Mod business.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Backups
« Reply #6 on: December 28, 2013, 11:24:51 PM »
When you add a user, do you see it reflected in the users.txt before a map change?
Experiencing God's grace one day at a time.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Backups
« Reply #7 on: December 28, 2013, 11:53:36 PM »
I'm going to try to recreate the issue.

And yes, since I gained access to the ftp, it has been updating
users.txt when I made a change.
Out of the Garry's Mod business.

Offline sabo

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Hello :)
    • The Elite Gaming
Re: Backups
« Reply #8 on: December 30, 2013, 11:40:45 AM »
I am so glad that I am using MySQL ;_;

the *.txt files in data folder are pretty much a killer for everything lol

They cause lagg/errors/and often deleted my staff/stuff....


When I had your problem I just reinstalled it and after a couple map changes it started working again... Please dont ask how lol

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Backups
« Reply #9 on: January 31, 2014, 08:34:24 PM »
I know this is an old topic, but my groups seem to be getting wiped after each map change again.

EDIT: In fact, this time, everything in data/ulib has been wiped! group_backup2.txt and group_backup3.txt have also been created. They are also empty.
« Last Edit: January 31, 2014, 09:08:39 PM by Neku »
Out of the Garry's Mod business.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Backups
« Reply #10 on: January 31, 2014, 09:36:32 PM »
This means Ulib sees something in your groups.txt, or some other ucl.groups it's reading, as corrupt.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Backups
« Reply #11 on: February 03, 2014, 09:26:28 PM »
I'm sorry, but this is becoming quite an issue, is there any known way to resolve this?
Out of the Garry's Mod business.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Backups
« Reply #12 on: February 04, 2014, 11:18:38 AM »
This means Ulib sees something in your groups.txt, or some other ucl.groups it's reading, as corrupt.

Unless another mod is interfering, JamminR is right. Open up your data\ulib\groups.txt file and see if you can spot any formatting errors. If you want help, feel free to PM or email me and/or JamminR and/or Megiddo your groups.txt file, and we can take a look.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Backups
« Reply #13 on: February 04, 2014, 06:53:46 PM »
If the backup is created, an explanation is printed to console. Check there...
Experiencing God's grace one day at a time.