Can you pls elaborate what you did here (you showed double inverted commas here).
And what’s the relevance of this edit? I mean, how did you know that this was the culprit or how did it solve this?
I’m facing with this error while migrating my images/assets from local to S3: “S3 migration failed for db ‘default’” (my branding logos don’t show anywhere).
> FileStore::ToS3MigrationError: Some uploads could not be migrated to the new scheme. You need to fix this manually.
> /var/www/discourse/lib/file_store/to_s3_migration.rb:151:in `migrate_to_s3'
> /var/www/discourse/lib/file_store/to_s3_migration.rb:61:in `migrate'
> /var/www/discourse/lib/tasks/uploads.rake:239:in `migrate_to_s3'
> /var/www/discourse/lib/tasks/uploads.rake:218:in `block in migrate_to_s3_all_sites'
> /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.1.1/lib/rails_multisite/connection_management.rb:64:in `with_connection'
> /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.1.1/lib/rails_multisite/connection_management.rb:74:in `each_connection'
> /var/www/discourse/lib/tasks/uploads.rake:216:in `migrate_to_s3_all_sites'
> /var/www/discourse/lib/tasks/uploads.rake:212:in `block in <top (required)>'
Generally, I have these files. All the files are (I guess) except the original folder - there is no pictures
Why? Maybe it is better to just copy it by hand ctr +C and that’s it … ?
Bitte sagen Sie genau, wo diese Zeile einzufügen ist, und ob die doppelten Anführungszeichen nach dem Gleichheitszeichen so belassen werden sollen (leer), oder ob wir unsere eigene S3-CDN-URL in diese Anführungszeichen einfügen sollen. Bitte geben Sie eine Anleitung.
Die oben genannten Zeilen existieren in der Datei lib/tasks/upload.rake nicht mehr.
Ich habe die gesamte (oben genannte) Datei sehr sorgfältig durchsucht.
Danke für die Antwort, aber von welcher Befehlszeile sprichst du? Soll dieser Befehl innerhalb des web_only-Containers eingegeben werden?