[DiscordArchive] I'm having some issues after pulling the latest commit.
[DiscordArchive] I'm having some issues after pulling the latest commit.
Archived author: Shadowblade • Posted: 2025-08-11T15:22:59.568000+00:00
Original source
I'm having some issues after pulling the latest commit.
The auto-updater went through a huge list of SQL updates but apparently is still out of date.
```Loading Items...
[1054] Unknown column 'StatsCount' in 'field list'
Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
#----------------------------------------------------------------------#
>> ABORTED
# Location '/root/azerothcore/src/server/database/Database/MySQLConnection.cpp:634'
# Function '_HandleMySQLErrno'
# Message 'Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
[1054] Unknown column 'StatsCount' in 'field list''
#----------------------------------------------------------------------#
/root/azerothcore/apps/startup-scripts/src/starter: line 151: 30423 Segmentation fault "$EXECPATH" ${CONFIG_ABS:+-c "$CONFIG_ABS"}
worldserver terminated with exit code: 139```
I've deleted the entire build folder and recompiled as well as removed all modules in case it was a module issue but no luck.
Any idea how I can get the database up to date preferably without wiping the whole thing?
Archived author: Tereneckla • Posted: 2025-08-11T15:23:30.118000+00:00
Original source
compile after updating
Archived author: Shadowblade • Posted: 2025-08-11T15:25:09.519000+00:00
Original source
I've recompiled 3 times already even deleted the build folder and built from an empty folder.
Archived author: Shadowblade • Posted: 2025-08-11T15:26:01+00:00
Original source
For reference this is how I recompiled, I'm assuming that should be enough?
```rm -R /root/azerothcore/build
mkdir /root/azerothcore/build
cd /root/azerothcore/build
cmake ../ -DCMAKE_INSTALL_PREFIX=$AC_CODE_DIR/env/dist/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD>
make -j 8
make install```
Archived author: Revision • Posted: 2025-08-11T15:54:04.051000+00:00
Original source
This indicates that the database is more up-to-date than the core. That column was removed.