Important! We removed database separation, now all tables used by the API are in one database, so if you used a separate database for reports, you need to import it into the accountdb database.
All steps are strictly required!
- Replace the file package.json with new one and run install.bat file.
- Completely delete the src directory and add it with a new one from the update.
- Replace all files in the public\launcher directory with new ones.
- Replace all files in the config directory with new ones (make your own settings if necessary).
- Unpack the share\data\tera-icons.zip archive to tera-api\data\tera-icons folder.
- Import the database structure from the share\db\00_schema.sql file (new tables will be added).
- Import the database updates from the share\db\updates\00_update.sql.
If you get errors while importing the 00_update.sql, run the queries from the file manually one by one, ignoring the queries with errors. This step not required for new installations or clean database! - Import other database files from the share\db directory for the Shop, Item Claim and other features to work. Example data of Tera Shop (with most items) is in file 03_db_shop_data.sql.
- Many paramenets in the .env file have been changed, so you can copy the new .env.example file to .env and make your own settings.
- Open config\admin.js file and change URLs for Admin Panel Quick Menu links.
By default, the admin panel is available on all IP addresses at port 8050, like
http://127.0.0.1:8050. You can change this in the
.env settings. To enter the admin panel, use login
apiadmin and password
password. These credentials should be used
only for tests, and in production you need to set up integration with the Steer Server.
If you get an error when starting the Launcher, clear the Internet Explorer cache.