AzerothCore 初始安装架构丢失
AzerothCore Intial Install Schema Missing
我正在 Ubuntu 20 LTS 上进行全新安装。遵循标准安装文档。看起来它没有按预期工作。
Server.log
AzerothCore rev. 55d17c1c538d 2021-11-18 14:48:31 -0300 (master branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon)
<Ctrl-C> to stop.
█████╗ ███████╗███████╗██████╗ ██████╗ ████████╗██╗ ██╗
██╔══██╗╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║
███████║ ███╔╝ █████╗ ██████╔╝██║ ██║ ██║ ███████║
██╔══██║ ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ ██║ ██╔══██║
██║ ██║███████╗███████╗██║ ██║╚██████╔╝ ██║ ██║ ██║
╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║██████╔╝█████╗
██║ ██║ ██║██╔══██╗██╔══╝
╚██████╗╚██████╔╝██║ ██║███████╗
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
AzerothCore 3.3.5a - www.azerothcore.org
> Using configuration file /home/wow/azeroth-server/etc/worldserver.conf
> Using SSL version: OpenSSL 1.1.1f 31 Mar 2020 (library: OpenSSL 1.1.1f 31 Mar 2020)
> Using Boost version: 1.71.0
Process priority class set to -15
Initializing Scripts...
> Loading C++ scripts
Opening DatabasePool 'acore_characters'. Asynchronous connections: 1, synchronous connections: 1.
DatabasePool 'acore_characters' opened successfully. 2 total connections running.
Opening DatabasePool 'acore_characters'. Asynchronous connections: 1, synchronous connections: 2.
DatabasePool 'acore_characters' opened successfully. 3 total connections running.
Opening DatabasePool 'acore_world'. Asynchronous connections: 1, synchronous connections: 1.
DatabasePool 'acore_world' opened successfully. 2 total connections running.
Updating Auth database...
>> Auth database is up-to-date! Containing 2 new and 26 archived updates.
Updating Character database...
>> Character database is up-to-date! Containing 2 new and 26 archived updates.
Updating World database...
>> World database is up-to-date! Containing 192 new and 2008 archived updates.
Closing down DatabasePool 'acore_characters'.
Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_characters' closed.
Could not prepare statements of the Character database, see log for details.
Closing down DatabasePool 'acore_world'.
Asynchronous connections on DatabasePool 'acore_world' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_world' closed.
Closing down DatabasePool 'acore_characters'.
Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_characters' closed.
Closing down DatabasePool 'acore_characters'.
Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_characters' closed.
在 DBerrors.log 中,它尝试 delete/update/change 当前不存在于 acore_characters 上的表。这是 acore_characters.
上的所有内容
+----------------------------+
| Tables_in_acore_characters |
+----------------------------+
| account |
| account_access |
| account_banned |
| account_muted |
| autobroadcast |
| build_info |
| ip_banned |
| logs |
| logs_ip_actions |
| realmcharacters |
| realmlist |
| secret_digest |
| updates |
| updates_include |
| uptime |
| version_db_auth |
+----------------------------+
也许自动更新程序没有填充这个?
DBerrors.log
的一些截断示例
In mysql_stmt_prepare() id: 0, sql: "DELETE FROM pool_quest_save WHERE pool_id = ?"
Table 'acore_characters.pool_quest_save' doesn't exist
In mysql_stmt_prepare() id: 1, sql: "INSERT INTO pool_quest_save (pool_id, quest_id) VALUES (?, ?)"
Table 'acore_characters.pool_quest_save' doesn't exist
In mysql_stmt_prepare() id: 2, sql: "DELETE FROM guild_bank_item WHERE guildid = ? AND TabId = ? AND SlotId = ?"
Table 'acore_characters.guild_bank_item' doesn't exist
In mysql_stmt_prepare() id: 3, sql: "UPDATE character_banned SET active = 0 WHERE unbandate <= UNIX_TIMESTAMP() AND unbandate <> bandate"
Table 'acore_characters.character_banned' doesn't exist
In mysql_stmt_prepare() id: 4, sql: "SELECT guid, account, name, gender, race, class, level FROM characters WHERE deleteDate IS NULL AND name = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 5, sql: "SELECT guid, account, name, gender, race, class, level FROM characters WHERE deleteDate IS NULL AND guid = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 6, sql: "SELECT 1 FROM characters WHERE name = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 8, sql: "SELECT COUNT(guid) FROM characters WHERE account = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 9, sql: "SELECT level, race, class FROM characters WHERE account = ? LIMIT 0, ?"
Table 'acore_characters.characters' doesn't exist
已尝试 运行 更新...
root@ubuntu:/home/wow/azerothcore# bash /home/wow/azerothcore/apps/db_assembler/db_assembler.sh
NOTICE: file </home/wow/azerothcore/conf/config.sh> has not been found, you should create and configure it.
Deno version check:
Checking https://github.com/denoland/deno/releases/download/v1.9.1/deno-x86_64-unknown-linux-gnu.zip
30.1 MiB / 30.1 MiB (100.0%)
Deno is upgrading to version 1.9.1
Archive: /tmp/.tmpPvQ6U1/deno.zip
inflating: deno
Upgraded successfully
1) all: Assemble all 4) customs: Assemble only customs 7) import-updates: Assemble & Import only updates
2) bases: Assemble only bases 5) import-all: Assemble & Import all 8) import-customs: Assemble & Import only customs
3) updates: Assemble only updates 6) import-bases: Assemble & Import only bases 9) quit: Exit from this menu
[Please enter your choice]: 7
===== DB ASSEMBLER MENU =====
===== STARTING ASSEMBLY PROCESS =====
Generating /home/wow/azerothcore/env/dist/sql/auth_updates ...
Searching on /home/wow/azerothcore/data/sql/updates/db_auth/ ...
Searching on /home/wow/azerothcore/data/sql/updates/pending_db_auth/ ...
Generating /home/wow/azerothcore/env/dist/sql/characters_updates ...
Searching on /home/wow/azerothcore/data/sql/updates/db_characters/ ...
Searching on /home/wow/azerothcore/data/sql/updates/pending_db_characters/ ...
Generating /home/wow/azerothcore/env/dist/sql/world_updates ...
Searching on /home/wow/azerothcore/data/sql/updates/db_world/ ...
Searching on /home/wow/azerothcore/data/sql/updates/pending_db_world/ ...
===== DONE =====
===== CHECKING DBs =====
mysqld is alive
acore_auth database exists
mysqld is alive
acore_characters database exists
mysqld is alive
acore_world database exists
===== DONE =====
===== STARTING IMPORTING PROCESS =====
importing AUTH - updates ...
mysqld is alive
ERROR 1146 (42S02) at line 4: Table 'acore_auth.updates' doesn't exist
哦,哇,是的,很多 acore_chatacters 表都不见了... https://www.azerothcore.org/wiki/database-characters
我回去删除所有数据库并重新创建,然后 运行 bash /home/wow/azerothcore/apps/db_assembler/db_assembler.sh
选项 5 在开始之前手动导入所有内容。结果相同,只是 acore_characters 架构中现在有更多的表。少量丢失。
我试过允许 auth 和 world bin 填充数据库。使用 auto-db 方法时,auth 工作正常,但 acore_characters 未完全填充。当我使用旧的汇编程序方法时,auth 不会启动,并指出模式中缺少表。然而 acore_characters 有更多的表格。现在,这两种方法似乎都无法完全填充 acore_characters 数据库。
原来是 MariaDB,改用 MySQL。 wiki 说两者都可以,但我想 Ubuntu 20 LTS mariadb 与 AzerothCore 不兼容。
我正在 Ubuntu 20 LTS 上进行全新安装。遵循标准安装文档。看起来它没有按预期工作。
Server.log
AzerothCore rev. 55d17c1c538d 2021-11-18 14:48:31 -0300 (master branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon)
<Ctrl-C> to stop.
█████╗ ███████╗███████╗██████╗ ██████╗ ████████╗██╗ ██╗
██╔══██╗╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║
███████║ ███╔╝ █████╗ ██████╔╝██║ ██║ ██║ ███████║
██╔══██║ ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ ██║ ██╔══██║
██║ ██║███████╗███████╗██║ ██║╚██████╔╝ ██║ ██║ ██║
╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║██████╔╝█████╗
██║ ██║ ██║██╔══██╗██╔══╝
╚██████╗╚██████╔╝██║ ██║███████╗
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
AzerothCore 3.3.5a - www.azerothcore.org
> Using configuration file /home/wow/azeroth-server/etc/worldserver.conf
> Using SSL version: OpenSSL 1.1.1f 31 Mar 2020 (library: OpenSSL 1.1.1f 31 Mar 2020)
> Using Boost version: 1.71.0
Process priority class set to -15
Initializing Scripts...
> Loading C++ scripts
Opening DatabasePool 'acore_characters'. Asynchronous connections: 1, synchronous connections: 1.
DatabasePool 'acore_characters' opened successfully. 2 total connections running.
Opening DatabasePool 'acore_characters'. Asynchronous connections: 1, synchronous connections: 2.
DatabasePool 'acore_characters' opened successfully. 3 total connections running.
Opening DatabasePool 'acore_world'. Asynchronous connections: 1, synchronous connections: 1.
DatabasePool 'acore_world' opened successfully. 2 total connections running.
Updating Auth database...
>> Auth database is up-to-date! Containing 2 new and 26 archived updates.
Updating Character database...
>> Character database is up-to-date! Containing 2 new and 26 archived updates.
Updating World database...
>> World database is up-to-date! Containing 192 new and 2008 archived updates.
Closing down DatabasePool 'acore_characters'.
Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_characters' closed.
Could not prepare statements of the Character database, see log for details.
Closing down DatabasePool 'acore_world'.
Asynchronous connections on DatabasePool 'acore_world' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_world' closed.
Closing down DatabasePool 'acore_characters'.
Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_characters' closed.
Closing down DatabasePool 'acore_characters'.
Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections.
All connections on DatabasePool 'acore_characters' closed.
在 DBerrors.log 中,它尝试 delete/update/change 当前不存在于 acore_characters 上的表。这是 acore_characters.
上的所有内容+----------------------------+
| Tables_in_acore_characters |
+----------------------------+
| account |
| account_access |
| account_banned |
| account_muted |
| autobroadcast |
| build_info |
| ip_banned |
| logs |
| logs_ip_actions |
| realmcharacters |
| realmlist |
| secret_digest |
| updates |
| updates_include |
| uptime |
| version_db_auth |
+----------------------------+
也许自动更新程序没有填充这个?
DBerrors.log
的一些截断示例In mysql_stmt_prepare() id: 0, sql: "DELETE FROM pool_quest_save WHERE pool_id = ?"
Table 'acore_characters.pool_quest_save' doesn't exist
In mysql_stmt_prepare() id: 1, sql: "INSERT INTO pool_quest_save (pool_id, quest_id) VALUES (?, ?)"
Table 'acore_characters.pool_quest_save' doesn't exist
In mysql_stmt_prepare() id: 2, sql: "DELETE FROM guild_bank_item WHERE guildid = ? AND TabId = ? AND SlotId = ?"
Table 'acore_characters.guild_bank_item' doesn't exist
In mysql_stmt_prepare() id: 3, sql: "UPDATE character_banned SET active = 0 WHERE unbandate <= UNIX_TIMESTAMP() AND unbandate <> bandate"
Table 'acore_characters.character_banned' doesn't exist
In mysql_stmt_prepare() id: 4, sql: "SELECT guid, account, name, gender, race, class, level FROM characters WHERE deleteDate IS NULL AND name = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 5, sql: "SELECT guid, account, name, gender, race, class, level FROM characters WHERE deleteDate IS NULL AND guid = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 6, sql: "SELECT 1 FROM characters WHERE name = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 8, sql: "SELECT COUNT(guid) FROM characters WHERE account = ?"
Table 'acore_characters.characters' doesn't exist
In mysql_stmt_prepare() id: 9, sql: "SELECT level, race, class FROM characters WHERE account = ? LIMIT 0, ?"
Table 'acore_characters.characters' doesn't exist
已尝试 运行 更新...
root@ubuntu:/home/wow/azerothcore# bash /home/wow/azerothcore/apps/db_assembler/db_assembler.sh
NOTICE: file </home/wow/azerothcore/conf/config.sh> has not been found, you should create and configure it.
Deno version check:
Checking https://github.com/denoland/deno/releases/download/v1.9.1/deno-x86_64-unknown-linux-gnu.zip
30.1 MiB / 30.1 MiB (100.0%)
Deno is upgrading to version 1.9.1
Archive: /tmp/.tmpPvQ6U1/deno.zip
inflating: deno
Upgraded successfully
1) all: Assemble all 4) customs: Assemble only customs 7) import-updates: Assemble & Import only updates
2) bases: Assemble only bases 5) import-all: Assemble & Import all 8) import-customs: Assemble & Import only customs
3) updates: Assemble only updates 6) import-bases: Assemble & Import only bases 9) quit: Exit from this menu
[Please enter your choice]: 7
===== DB ASSEMBLER MENU =====
===== STARTING ASSEMBLY PROCESS =====
Generating /home/wow/azerothcore/env/dist/sql/auth_updates ...
Searching on /home/wow/azerothcore/data/sql/updates/db_auth/ ...
Searching on /home/wow/azerothcore/data/sql/updates/pending_db_auth/ ...
Generating /home/wow/azerothcore/env/dist/sql/characters_updates ...
Searching on /home/wow/azerothcore/data/sql/updates/db_characters/ ...
Searching on /home/wow/azerothcore/data/sql/updates/pending_db_characters/ ...
Generating /home/wow/azerothcore/env/dist/sql/world_updates ...
Searching on /home/wow/azerothcore/data/sql/updates/db_world/ ...
Searching on /home/wow/azerothcore/data/sql/updates/pending_db_world/ ...
===== DONE =====
===== CHECKING DBs =====
mysqld is alive
acore_auth database exists
mysqld is alive
acore_characters database exists
mysqld is alive
acore_world database exists
===== DONE =====
===== STARTING IMPORTING PROCESS =====
importing AUTH - updates ...
mysqld is alive
ERROR 1146 (42S02) at line 4: Table 'acore_auth.updates' doesn't exist
哦,哇,是的,很多 acore_chatacters 表都不见了... https://www.azerothcore.org/wiki/database-characters
我回去删除所有数据库并重新创建,然后 运行 bash /home/wow/azerothcore/apps/db_assembler/db_assembler.sh
选项 5 在开始之前手动导入所有内容。结果相同,只是 acore_characters 架构中现在有更多的表。少量丢失。
我试过允许 auth 和 world bin 填充数据库。使用 auto-db 方法时,auth 工作正常,但 acore_characters 未完全填充。当我使用旧的汇编程序方法时,auth 不会启动,并指出模式中缺少表。然而 acore_characters 有更多的表格。现在,这两种方法似乎都无法完全填充 acore_characters 数据库。
原来是 MariaDB,改用 MySQL。 wiki 说两者都可以,但我想 Ubuntu 20 LTS mariadb 与 AzerothCore 不兼容。