Replies: 16 comments 4 replies
-
|
Hi, Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
|
Could you also provide what is in the production.log if you try to download such a missing document? |
Beta Was this translation helpful? Give feedback.
-
|
Weren't there any errors during the migration? |
Beta Was this translation helpful? Give feedback.
-
|
There in the devel branch is a new rake task for identifying missing files. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
-
|
Hm, you can hardly upload 426 files manually. I'd restore all files and the database from the backup and re-run the migration. I'd suggest saving the output to a log file for a later investigation what was happening during the migration. |
Beta Was this translation helpful? Give feedback.
-
|
I can't restore the backup or the snapshot of the VM. We didn't realize there was a problem until a few days later and, unfortunately, since this is a production environment, I can't restore a backup from a few days ago. I'm afraid I'll have to recharge them manually |
Beta Was this translation helpful? Give feedback.
-
|
How can I use the revision number to locate the missing file via the Redmine web interface or via API ? |
Beta Was this translation helpful? Give feedback.
-
|
I've modified the rake task in order the error output contains dmsf_file_id too. You can edit a file then using the following link: |
Beta Was this translation helpful? Give feedback.
-
|
Maybe to write a rake task which would attach proper files to the corresponding revisions... |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I'll try it |
Beta Was this translation helpful? Give feedback.
-
|
I'm looking at the client in the Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
|
There is no API to re-upload a file. You will have to create a new revision and upload the file to the new revision. A new revision is created if the file name corresponds with an existing filename. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I've modified the program to extract the project_id and dmsf_file_id from the old Redmine as well, and use them for the upload to the new Redmine. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I have a new installation of Redmine 6.1.2 and Redmine DMSF Plugin 5.0.1 with active storage enabled, and I'm wondering why files are being stored in two locations at the same time? When I upload a file to the DMS module, it is saved in redmine/files and redmine/dmsf_as. Is this how it's supposed to work, or am I missing something? |
Beta Was this translation helpful? Give feedback.
-
|
Thank you both for your feedback. It helped me a lot to tune the migration. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anybody already installed the last release v5.0.0? Any feedback from the plugin migration and Active Storage usage?
Beta Was this translation helpful? Give feedback.
All reactions