AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Tables not being created? (https://forums.alliedmods.net/showthread.php?t=305172)

DeathGod 02-10-2018 03:33

Tables not being created?
 
So I have installed SourceBans++ and successfully got my 1st server running with SourceBans, but I added my 2nd server to the server list on my web panel and I did a database entry in database.cfg but it's not creating the tables? Am I doing something wrong?

L 02/10/2018 - 19:28:51: [sbpp_main.smx] Failed to retrieve overrides from the database, Table 'JohnnyD_11245.sb_overrides' doesn't exist
L 02/10/2018 - 19:28:51: [sbpp_main.smx] Failed to retrieve groups from the database, Table 'JohnnyD_11245.sb_srvgroups' doesn't exist
L 02/10/2018 - 19:28:51: [sbpp_main.smx] Failed to retrieve admins from the database, Table 'JohnnyD_11245.sb_admins_servers_groups' doesn't exist

DarkDeviL 02-10-2018 18:19

Re: Tables not being created?
 
SourceBans is meant to have a global ban administration for all your servers at once, so if it works on the first server, you simply set it up identically on the other server.

Sometimes (usually if you're behind NAT), you may need to set the correct server id in each server's addons/sourcemod/configs/sourcebans.cfg config file to match the id on the web panel.

SouceBans does not create one set of tables for each individual server you run.

DeathGod 02-10-2018 22:59

Re: Tables not being created?
 
Quote:

Originally Posted by arne1288 (Post 2577575)
SourceBans is meant to have a global ban administration for all your servers at once, so if it works on the first server, you simply set it up identically on the other server.

Sometimes (usually if you're behind NAT), you may need to set the correct server id in each server's addons/sourcemod/configs/sourcebans.cfg config file to match the id on the web panel.

SouceBans does not create one set of tables for each individual server you run.

So I have to do a new installation for each individual server? I can't link all my servers to one web panel?

DarkDeviL 02-10-2018 23:40

Re: Tables not being created?
 
Quote:

Originally Posted by DeathGod (Post 2577589)
So I have to do a new installation for each individual server?

No.

Quote:

Originally Posted by DeathGod (Post 2577589)
I can't link all my servers to one web panel?

This one is what I say SourceBans was made for:

Use the same "sourcebans" directive in all of your server's "databases.cfg", and obviously the same plugin.

Since you say one of the servers is working, and the other server doesn't work; something went wrong, and you are not linking both servers towards the same "sourcebans" database, as if you were, then the tables would exist.


All times are GMT -4. The time now is 10:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.