AtroCore v2.0 Update Issue

Has anyone successfully updated Core to v2.0? I tried to install the updates last night and everything just stopped working. The login page background would load with a red banner at the top that said, “500 Error”. I updated the web server root directory to point to the /public directory and restarted Apache, but the error wouldn’t go away. I also tried clearing my cache and loading the page in an Incognito window.

I ended up rolling back to my server snapshot and calling it a night.

Before the update, please read the release notes AtroCore | AtroCore Help Center

Once the update is finished, you should receive an error message prompting you to reconfigure your web server. Please reconfigure your web server. Then, restart the web server. The Atrocore system will work fine after that. If you still see the same error, then you haven’t reconfigured your web server.

Perhaps some migration has been crashed while updating. Please, try to catch the error and send it to us. We will fix the problem if it exists.

Ok, yeah…I never got the message to reconfigure the web server. I’ll try again soon and see if I have better luck this time.

This is the error that I’m seeing in the Response Headers for /api/v1/Settings after initiating the update:

HTTP/1.1 200 OK
Date: Tue, 10 Jun 2025 22:04:45 GMT
Server: Apache/2.4.62 (Ubuntu)
X-Status-Reason: An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "auth_token" does not exist
X-Status-Reason: LINE 1: ...atro_user_id, user_mm.name AS atro_user_name FROM "auth_toke...
X-Status-Reason: ^
Content-Length: 0
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive
Content-Type: text/html;charset=UTF-8

It seems like after a little bit, it auto-recovers from the restore point that it created and I’m back to where I was before I tried to install the updates.

It’s definitely something else. The problem is not in 2.0. Please provide the technical specifications of your installation. What DB are you using? Mysql or posgresql? What is the current version of the system? What modules are installed? Make screenshot of module manager. Please also provide data/logs. Without this, all our assumptions will not be better than guessing on coffee grounds)

OS/Version: Ubuntu 24.10
Database: Postgres 17

Link to atro-2025-06-10.log

Installed Modules:

Let me know if there’s anything else that I can provide. Thanks.

The logs indicate some problems with database queries. Unfortunately, I can’t solve the problem just by exchanging messages with you. I need to investigate the situation on your server. I have written you an email about it.

The issue solved. The problem was because of different versions in postgres client tools.

Please, if you are not hosting the database on the same server as the files, make sure that the version of the database client matches the version on the database server. This is important because the database is backed up before the system update. Due to the difference in versions, the backup could not be created and, accordingly, the update did not occur.