[DiscordArchive] Hi there, I'm trying to update my server for the first time since I installed it about a year ago, I
[DiscordArchive] Hi there, I'm trying to update my server for the first time since I installed it about a year ago, I
Archived author: MrCeeJ • Posted: 2023-02-05T13:32:45.264000+00:00
Original source
Hi there, I'm trying to update my server for the first time since I installed it about a year ago, I followed the instructions here https://www.azerothcore.org/wiki/update (I was on world db version ACDB 335.6-dev so didn't need to do the 3.0.0 upgrade, so just went ahead with the instructions here: https://www.azerothcore.org/wiki/update#...cal-source which lead me to https://www.azerothcore.org/wiki/ac-dash...stallation here and 'How to update your server' (basically pull the latest version and run a compile/build step). I pulled down the latest and ran ./acore.sh compiler build, which mostly worked but at the end I get a whole ton of errors:
CMake Error in src/server/database/CMakeLists.txt:
Imported target "mysql" includes non-existent path
"C:/tools/mysql/current/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
I don't have a C:/tools directory, and if I look in the CMakeLists.txt script referenced it doesn't seem to refer to it either. Have I missed a configuration somewhere where I should have specified a path to mysql or do I need to run this in an admin version of gitbash or something?
Archived author: Nyeriah • Posted: 2023-02-05T13:37:21.572000+00:00
Original source
its not finding your mysql install
Archived author: MrCeeJ • Posted: 2023-02-05T13:37:32.525000+00:00
Original source
The error is pasted about 20 times, and occurs just after
* Modules configuration (static):
|
-- * Modules config list:
|
-- Running cmake hook: AFTER_SRC_LOAD
-- No hooks registered for AFTER_SRC_LOAD
-- Configuring done
CMake Error in src/server/database/CMakeLists.txt:
Imported target "mysql" includes non-existent path
and then after all the errors I get a final:
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
I am not sure if that means I have broken everything, or if it is just some noise cleaning up. The rest of the update seemed to work fine, it found that I didn't have dino and installed it and upgraded it fine, I don't know what else it should have done or not done, but I am afraid to restart the server in case I corrupt it as it will apply all the data updates when it launches
Archived author: MrCeeJ • Posted: 2023-02-05T13:37:44.489000+00:00
Original source
where / when am I suppsed to set that?
Archived author: Nyeriah • Posted: 2023-02-05T13:38:01.447000+00:00
Original source
its supposed to find it auto as long as you have it installed and didnt set anything manually
Archived author: MrCeeJ • Posted: 2023-02-05T13:38:19.371000+00:00
Original source
I didn't, I did as vanilla install as I could
Archived author: MrCeeJ • Posted: 2023-02-05T13:39:20.017000+00:00
Original source
C:\Program Files\MySQL\MySQL Server 8.0
is a pretty obvious / standard location, I doubt I changed it
Archived author: MrCeeJ • Posted: 2023-02-05T13:39:31.681000+00:00
Original source
where does it store the location?
Archived author: MrCeeJ • Posted: 2023-02-05T13:39:54.279000+00:00
Original source
hmm, there was this line at the start:
$ ./acore.sh compiler build
NOTICE: file </c/Azerothcore/conf/config.sh> not found, we use default configuration only.
Archived author: MrCeeJ • Posted: 2023-02-05T13:40:40.084000+00:00
Original source
I do have a config.sh file, but it is located here:
C:\Azerothcore\conf\dist\config.sh