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

Migration Bucket not found on AWS S3 #3343

Closed
gattieri opened this issue Jun 21, 2023 · 9 comments
Closed

Migration Bucket not found on AWS S3 #3343

gattieri opened this issue Jun 21, 2023 · 9 comments

Comments

@gattieri
Copy link

Preconditions (*)

  1. try to migrate from Magento 1.9.4 to OpenMage last version
  2. go to Magento root directory

Steps to reproduce (*)

  1. call the command "curl -fsSL https://migrate.openmage.org | sh"

Expected result (*)

  1. Migration starts

Actual result (*)

  1. AWS S3 openmage.migrationpatches Bucket doesn't exists
    https://openmage.migrationpatches.s3.amazonaws.com/magento-ce-1.9.3.4-openmage-lts-v19.4.8.patch.gz
NoSuchBucket The specified bucket does not exist openmage.migrationpatches AETMTKP1GMWYWJD0 WjlaKRUVNiPYursw/Fgo34KD6S3M64WJnVTctONgHbK4Vs6E1HFx7hmNnvaRYOnPBginvMbK28o=
@gattieri gattieri added the bug label Jun 21, 2023
@fballiano
Copy link
Contributor

the migration script was discontinued https://github.com/OpenMage/migrate/ but nobody updated the website, sorry for that :-( please refer to the https://github.com/OpenMage/magento-lts#installation to continue

@ADDISON74 ADDISON74 removed the bug label Jun 21, 2023
@gattieri
Copy link
Author

the migration script was discontinued https://github.com/OpenMage/migrate/ but nobody updated the website, sorry for that :-( please refer to the https://github.com/OpenMage/magento-lts#installation to continue

Thank you.
so there is no longer a migration tool?
should openmage be installed in the old magento folder?

On your link i only find installation instruction.
I'm trying to go live today after migrating in test with the "old" tool
I lost the morning time... is there a chance to use the old migration?

I also have another project that will go live the next week and i will have the same problem

thanks

@fballiano
Copy link
Contributor

I've never used the migration tool and I've not written it so I've no idea sorry

@gattieri
Copy link
Author

I'm sorry if I'm insistent: in any case, would the migration concern only the files or are there also changes to the DB?

I would have found a workaround but I should check that the DB is "migrated" but I don't know how to check.

Can I check if there is a specific field on a table of the db that is created only for OpenMage or is the DB the same as Magento 1.9?

I'm talking about OpenMage v.19

thanks and sorry

@fballiano
Copy link
Contributor

fballiano commented Jun 21, 2023

no reason to be sorry, I'd still reinstall openmage on top of the previous files, just to be sure.

if you login to the backend, in the footer there's gonna be written what version you're running.

my workflow:

  • extract openmage on the previous folder
  • reset cache
  • login to backend

at this point all upgrade script ran

@ADDISON74
Copy link
Collaborator

In such situations you can clone the database and copy OpenMage files in another directory. Test it for a week and if you have no errors in the logs, with your own extensions and custom changes you launch it into production. Thus you have a backup of the current, functional version.

Remember that using the migration script was not a guarantee. moreover, I do not recommend migrating to production, so the version shown before is the safest way for an upgrade. I know that it is convenient to do everything with one order and quickly like in Magento 2, but there is still a long way to go and it will not be done soon because it depends on too many particularities of each OM installation.

So far I haven't identified any problems in OM using the current database, only there were problems with extensions and newer PHP versions.

@gattieri
Copy link
Author

Thanks.
We tried openmage for a month in staging and making some theme and plugin changes.

Today was "The Day" and we get a strange error 500 without log errors.

But using the staging file with the production DB it works.

The fear is that some field in db are missing and we will get problem in the future.

Now i will try from clean db and Magento 1 file, using @fballiano procedure.

@fballiano
Copy link
Contributor

the error 500 are logged by the webserver directly, so you should have something in the apache logs or the nginx logs

@gattieri
Copy link
Author

i know but i found the 500 error log on access.log

i will start again from vhost and on...

thanks

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

No branches or pull requests

3 participants