#Cloud migration failed half of database

80 messages · Page 1 of 1 (latest)

exotic dome
#

Hello,

Second part of #1265676161808072827

When migrating from local to cloud, I get this error: --deleted link

exotic dome
#

I'll close this since in a new project importing worked (somewhat) fine.

#

[SOLVED] Cloud migration failed

#

Cloud migration failed half of database

#

some collections are filled with attributes & documents, like ID: gallery-images
and others are just.. empty, no attributes either.

exotic dome
#

the latest official one

#

ah latest is 1.5.8 but it shouldn't be that much of an issue

#

i got 1.5.7

dim schooner
exotic dome
# dim schooner that was before or after you upgraded to pro?

I created an org and a project and instead of "deploy to cloud" i used "import data" (or something similiar), and some things did import correctly like.. i think a singular collection did go correct, my smtp data etc. and of course my functions failed, but that's cause they were node 20 (which is the least of my issues, cause just re-deploy)

#

even though the status is failed as well, the "resolve migration issues" window keeps loading for most of them, probably due to the server error that's in the error log

dim schooner
exotic dome
#

i just deleted the old link, for less confusion

dim schooner
# exotic dome ## Read from here Nevermind, failed again. Missing half of my database. Curren...

@runic rampart any ideas why databases, functions, and storage has errors like:

    "Error occurred while fetching 'databases:' from source with message: 'Call to undefined method Utopia\\Migration\\Exception::getResourceType()'",
    "Error occurred while fetching 'functions:' from source with message: 'Call to undefined method Utopia\\Migration\\Exception::getResourceType()'",
    "Error occurred while fetching 'storage:' from source with message: 'Call to undefined method Utopia\\Migration\\Exception::getResourceType()'",

?

runic rampart
#

an error in the error handler made it use an old method which wasn't updated, I will soon be assing phpstan to detect these errors in tests ahead of time so this doesn't happen again

exotic dome
#

lol, just found out that 1.5.8 isn't even out yet

#

So, what now?

dim schooner
exotic dome
#

Isn't cloud on 1.5.8 already?

#

or do you mean an even higher version?

dim schooner
exotic dome
#

:( Let's hope it's soon then

dim schooner
exotic dome
exotic dome
dim schooner
exotic dome
#

the cloud is still on 1.5.8 fyi

runic rampart
#

Making a PR for that now

exotic dome
runic rampart
#

I'm really sorry about how long this has taken

exotic dome
#

Thanks!

#

All good.

dim schooner
exotic dome
dim schooner
exotic dome
#

will check later

exotic dome
exotic dome
#

this is annoying lol

dim schooner
exotic dome
#

Change it to "Imported with errors", where it says that the storage for example has been changed to a correct size

dim schooner
exotic dome
#

it was a high number lol

#

on a new bucket:

dim schooner
exotic dome
#

the bug fix did get released, at least for the massive amount of errors before

#

so "something" got magically fixed, just these things

dim schooner
exotic dome
#

ah

#

i mean my max size for pro is 5 gigs

dim schooner
exotic dome
#

hm

#

i did see that flying around, but i thought that was just on storage in an already working cloud environment

#

the thing i hate the most about this import system currently.. i get an error and the entire migration stops, there's even files that are still shown as "pending"

exotic dome
#

is that an actual error, or does it need to be fixed

dim schooner
dim schooner
runic rampart
#

as for the Call to a member function getId() on null, I'll try and see what I can dig up

exotic dome
#

Heyo! Any update?

exotic dome
#

@dim schooner 1peek

exotic dome
#

Since the waiting took me a bit too long. I imported again, with proper storage file sizes so they import correctly.

However, one thing went wrong, which is the functions.. for not a proper reason. No errors further.

#

Also, each file imported from self-hosted into the cloud storage bucket, is larger than the actual file. Why?

#

self hosted

viral frost
exotic dome
#

don't think so?

viral frost
exotic dome