fusio icon indicating copy to clipboard operation
fusio copied to clipboard

How to Upgrade old version without loosing the data

Open bangash-92 opened this issue 1 year ago • 3 comments

@chriskapp I am trying to upgrade from version 2.0.0 to 4.0.3 and followed all the steps in the documentation. But still unable to upgrade the system. When we run the migrate command it says table already exists. Steps:

  1. Download a fresh copy
  2. connect to old database
  3. run the migrate command
  4. run the upgrade command

bangash-92 avatar Jun 03 '24 06:06 bangash-92

Hi @bangash-92 could you download the latest 3.x version and migrate from 2.x to the latest 3.x and then from 3.x to the latest 4.x version. This should work, then you could also upgrade from 4.x to 5.x.

chriskapp avatar Jun 03 '24 22:06 chriskapp

Hi @chriskapp Now getting this error. Where can i update the path

Config variable ${BASE_PATH} is not defined www/api_fusio_upg/public/apps/fusio/.htaccess: RewriteBase: argument is not a valid URL

bangash-92 avatar Jun 04 '24 07:06 bangash-92

So the ${BASE_PATH} gets normally replaced by the installer but you can also manually replace it. In you case I would guess it is /apps/fusio/ if your DocumentRoot is set to the public/ folder s. https://github.com/apioo/fusio-apps-backend/blob/master/src/.htaccess

chriskapp avatar Jun 04 '24 16:06 chriskapp