How to upgrade to v17 - abcsoftware/abc-docs GitHub Wiki
Installing Version 17
Version 17 provides:
- Each company is hosted on a separate domain so that you can have multiple companies open at once.
Misc Notes
- Version 17 can and should be installed alongside version 16. Both can happily operate simultaneously on the same machine.
Migrating Companies to Version 17
Version 16 can still be running as you migrate companies, but the legacy server must be stopped.
This migration process only works when version 17 is running on the same instance of PostgreSQL Server as version 16. If installing version 17 on a separate database instance, doing a backup/restore of the company db is required.
Once migrating the company to version 17, it will no longer be available in version 16.
- Install ABCSoftware.Server.Core.
- This will import the database connection information from version 16.
- Configure SSL Certificate for every company in ABC.
- Open a browser to
https://domain.of.primary.company:5017
. Notice that the url ishttps
and the port is5017
. - The users from version 16 are automatically imported, log in with a user that has the system admin role.
- Navigate to Configuration > Companies and click the "Show previous version companies" button at the bottom of the screen.
- You can import companies individually (they will not be assigned any legacy server) or a whole legacy server at once.
- Configure the legacy server
- The "Web Server URI" field must match one of the companies' domains. Do not include the port number
(example
https://domain.of.primary.company
). This will be the domain that users will be redirected to for login. All companies on a single legacy server will use the same login domain to prevent having to log into each company individually.
- The "Web Server URI" field must match one of the companies' domains. Do not include the port number
(example
- Configure the company(s).
- Run database migrations for the company.
- The "Public URL" must be unique for each company. The url should be the full domain and port (example: https://domain.of.primary.company:5017`)
Fixing the search_path
We've seen some issues with the tables, such as bank_statements, in the new core schema not being found in version 17. To fix this in the field:
- Open a command prompt in
C:\ABC Software\ABC Postgresql 12\PostgreSQL\bin
. - Connect to the database with
psql -h hostname -p 4012 -U postgres -d "<database name>"
- Show the current path
SHOW search_path;
- Set the new path with
SET search_path = "$user", public, core;
- Close the command prompt window.