2.7から3.1へのアップグレードに失敗: "hotlinked_media_status" が既に存在します

This only occurred when you imported your backup? (to your brand new, freshly and successfully built error-free 3.1 stable server?)

Yes

OK, so I’d now start examining the data in your backup.

There was a recent topic about this and it may help.

What can i do ?

This was a subject of a fix last year, strangely.

@david forgive me for mentioning you, but this is completely relevant to that fix, would you care to chime in here?

I find solution

DO $$ BEGIN CREATE TYPE hotlinked_media_status AS ENUM('downloaded', 'too_large', 'download_failed', 'upload_create_failed'); EXCEPTION WHEN duplicate_object THEN null; END $$;

20220428094026_create_post_hotlinked_media.rb

「いいね!」 1

You edited the Rails migration within the container and that allowed you to complete the import?

「いいね!」 1

yes, that’s right

「いいね!」 2

That’s great, well done! :tada:

「いいね!」 2

thanks for your help :pray:

「いいね!」 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.