Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Upgrade old version without loosing the data #556

Open
bangash-92 opened this issue Jun 3, 2024 · 3 comments
Open

How to Upgrade old version without loosing the data #556

bangash-92 opened this issue Jun 3, 2024 · 3 comments
Labels

Comments

@bangash-92
Copy link

@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
@chriskapp
Copy link
Member

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.

@bangash-92
Copy link
Author

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

@chriskapp
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants