Tribe Support

Tribe Support's Articles

Rastin Mehr

Rastin Mehr

December 27 2016

Upgrading from Anahita 4.2 to 4.3

A lot has changed in the Anahita 4.3 release. The most important change is that we have completely removed the Joomla source code from Anahita #NoJoomla. As a result, you need to run a few commands to upgrade your Anahita installation.

Before you start

Please make sure you have done the following 3 preparations:

  1. made a database backup (database dump). This is extremely important, because if something goes wrong during the upgrade process, you can still use your backup to start over again.
  2. kept a list of all the apps that you have installed. You need to reinstall them through the upgrade process. For example groups, articles, autofollow, connect, etc.
  3. upgraded all your custom anahita extensions to work with the 4.3 release 

Here is an article about how to upgrade your custom extensions for the version 4.3

Updating your custom extensions for Anahita 4.3

Instructions on how to update your custom Anahita extensions for Anahita 4.3 release

Now let's upgrade to 4.3

If you have installed Anahita directly from the master branch, the following commands will get the latest files:

$ git pull

Otherwise if you have installed Anahita using the composer, do:

$ composer update

Then update the file structure

$ php anahita site:symlink

Re-initiate your installation

$ php anahita site:init

Reinstall the apps. For example if you had installed: groups topics photos todos

$ php anahita package:install groups topics photos todos

Note: Anahita will ask you to run the previous command one more time. Go ahead and do it.

Now run the database migration command to update your data

$ php anahita db:migrate:up

Now login to your Anahita installation and under your account’s menu go to the Site Settings. We no longer have an administration back-end in Anahita. All site configuration will be happening here from now on. 

Review all the settings and update.

Test and make sure if everything is working.

Additional Information

Powered by Anahita