Comments (9)
Hey @max1mde - The mattermost CLI has been deprecated and does not import attachments. Please use option 1 mentioned here: https://docs.mattermost.com/onboard/migrate-from-slack.html#import-data-into-mattermost. We should probably remove option 2 now. cc @cwarnermm for a doc update.
from mattermost.
{"timestamp":"2024-02-08 12:37:56.488 +01:00","level":"info","msg":"Preparing file upload from file system","caller":"app/import_functions.go:1291","file_name":"data/bulk-export-attachments/F06HW7FJ0GY_Clipboard_-_January_5__2024_12_03_PM.png"}
{"timestamp":"2024-02-08 12:37:56.492 +01:00","level":"info","msg":"Uploading file with name","caller":"app/import_functions.go:1327","file_name":"data/bulk-export-attachments/F06HW7FJ0GY_Clipboard_-_January_5__2024_12_03_PM.png"}
{"timestamp":"2024-02-08 12:37:56.516 +01:00","level":"debug","msg":"Received HTTP request","caller":"web/handlers.go:172","method":"POST","url":"/api/v4/users/status/ids","request_id":"d3gtdointinttdobtky7gc3pzo","user_id":"13mm7e13ipn1bcsmrpomgoun6c","status_code":"200"}
{"timestamp":"2024-02-08 12:37:56.533 +01:00","level":"debug","msg":"GetImageOrientation failed","caller":"app/file.go:1104","error":"failed to decode exif data: exif: failed to find exif intro marker"}
{"timestamp":"2024-02-08 12:37:56.550 +01:00","level":"info","msg":"Preparing file upload from file system","caller":"app/import_functions.go:1291","file_name":"data/bulk-export-attachments/F06H0QG2CTG_download__3_.jpg"}
{"timestamp":"2024-02-08 12:37:56.550 +01:00","level":"info","msg":"Uploading file with name","caller":"app/import_functions.go:1327","file_name":"data/bulk-export-attachments/F06H0QG2CTG_download__3_.jpg"}
{"timestamp":"2024-02-08 12:37:56.564 +01:00","level":"debug","msg":"GetImageOrientation failed","caller":"app/file.go:1104","error":"failed to decode exif data: EOF"}
{"timestamp":"2024-02-08 12:37:56.604 +01:00","level":"info","msg":"Bulk import worker finished","caller":"app/import.go:121","bulk_import_worker_id":"3s4fkfw15prndkhysg61tqtarr","processed_lines":13}
{"timestamp":"2024-02-08 12:37:56.811 +01:00","level":"info","msg":"Preparing file upload from file system","caller":"app/import_functions.go:1291","file_name":"data/bulk-export-attachments/F06FXAGC5PV_Night-Sky-Clouds-Sunset-Scenery-4k-Wallpapers-scaled.jpg"}
{"timestamp":"2024-02-08 12:37:56.813 +01:00","level":"info","msg":"Uploading file with name","caller":"app/import_functions.go:1327","file_name":"data/bulk-export-attachments/F06FXAGC5PV_Night-Sky-Clouds-Sunset-Scenery-4k-Wallpapers-scaled.jpg"}
{"timestamp":"2024-02-08 12:37:56.901 +01:00","level":"debug","msg":"GetImageOrientation failed","caller":"app/file.go:1104","error":"failed to decode exif data: EOF"}
{"timestamp":"2024-02-08 12:37:57.191 +01:00","level":"info","msg":"Preparing file upload from file system","caller":"app/import_functions.go:1291","file_name":"data/bulk-export-attachments/F06GA3260LR_Night-Sky-Clouds-Sunset-Scenery-4k-Wallpapers-scaled.jpg"}
{"timestamp":"2024-02-08 12:37:57.192 +01:00","level":"info","msg":"Uploading file with name","caller":"app/import_functions.go:1327","file_name":"data/bulk-export-attachments/F06GA3260LR_Night-Sky-Clouds-Sunset-Scenery-4k-Wallpapers-scaled.jpg"}
{"timestamp":"2024-02-08 12:37:57.258 +01:00","level":"debug","msg":"GetImageOrientation failed","caller":"app/file.go:1104","error":"failed to decode exif data: EOF"}
from mattermost.
I found this #21228
from mattermost.
Opened: https://mattermost.atlassian.net/browse/MM-56801.
from mattermost.
same situation when importing rocketchat files
{"timestamp":"2024-02-12 16:26:52.115 Z","level":"info","msg":"Uploading file with name","caller":"app/import_functions.go:1325","file_name":"files/rocketchat_uploads/eur7XXS698FDx4gLv/bg_product_5900017059037.png"} {"timestamp":"2024-02-12 16:26:52.151 Z","level":"debug","msg":"GetImageOrientation failed","caller":"app/file.go:1104","error":"failed to decode exif data: exif: failed to find exif intro marker"} {"timestamp":"2024-02-12 16:26:56.968 Z","level":"info","msg":"Preparing file upload from file system","caller":"app/import_functions.go:1289","file_name":"files/rocketchat_uploads/JacfnQbCiERzWuyCK/bannermobile.png"} {"timestamp":"2024-02-12 16:26:56.976 Z","level":"info","msg":"Uploading file with name","caller":"app/import_functions.go:1325","file_name":"files/rocketchat_uploads/JacfnQbCiERzWuyCK/bannermobile.png"} {"timestamp":"2024-02-12 16:26:57.004 Z","level":"debug","msg":"GetImageOrientation failed","caller":"app/file.go:1104","error":"failed to decode exif data: exif: failed to find exif intro marker"}
from mattermost.
@max1mde - You mentioned that the export zip contains all the images. Could you check if F06HW7FJ0GY_Clipboard_-_January_5__2024_12_03_PM.png
contains in the zip file or not? Just verifying if somehow it went into a different folder or it's not included at all.
from mattermost.
@max1mde - You mentioned that the export zip contains all the images. Could you check if
F06HW7FJ0GY_Clipboard_-_January_5__2024_12_03_PM.png
contains in the zip file or not? Just verifying if somehow it went into a different folder or it's not included at all.
This is in the export-with-emails-and-attachments.zip
file
After I excecuted the mmetl transform slack --team slack-import --file export-with-emails-and-attachments.zip --output mattermost_import.jsonl
command
This file is in the data/bulk-export-attachments
folder:
Finally I imported the data using the mattermost import bulk ./mattermost_import.jsonl --import-path ./data --apply
command but the attachments are missing in mattermost.
from mattermost.
Thanks for the flag, @agnivade! I'll ensure the docs are updated.
from mattermost.
Hey @max1mde - The mattermost CLI has been deprecated and does not import attachments. Please use option 1 mentioned here: https://docs.mattermost.com/onboard/migrate-from-slack.html#import-data-into-mattermost. We should probably remove option 2 now. cc @cwarnermm for a doc update.
Yes this method actually worked! The images are all working now.
Thanks.
from mattermost.
Related Issues (20)
- ENORMOUS BUG: tab nickname completion can obliterate message / post after HOT 3
- Update 9.4 and after are breaking focalboard HOT 4
- iOS app only: Bot tag missing on at-user autocomplete
- /playbook autocomplete lists non-existent list command HOT 1
- Duplicate option names cannot be selected in interactive dialogs
- Official docker image page contains broken link HOT 2
- Official docker container - arm64 builds? HOT 2
- FileSettings.AmazonS3SSL getting value error in plugin HOT 4
- RN: Search results scroll area cutting off content in some scenarios
- RestApi view channel endpoint doesn't work as before
- After version upgrade - Users with Member Access unable to access any channel or DM. HOT 1
- Accessibility: Screen reader speaking wrong item in list in Find Channels modal
- Screen reader: Add team button in team sidebar doesn't read out proper label HOT 4
- Accessibility: Options menu button for channels and categories in LHS doesn't read out a unique label
- Accessibility: When closing/dismissing the find channels modal via keyboard, set focus on originating button
- Accessibility: Set focus within RHS when any RHS is opened HOT 2
- Accessibility: Profile menu doesn't follow standard accessible keyboard behavior HOT 2
- Accessibility: Category labels in LHS require tabbing twice HOT 1
- Accessibility: Team Icon requires tabbing twice HOT 3
- Mattermost v9.7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost.