ArticleStorageFS migration - error while converting attachments

Moderator: crythias

Locked
drookie
Znuny newbie
Posts: 2
Joined: 28 Sep 2016, 13:41
Znuny Version: 3.1.1

ArticleStorageFS migration - error while converting attachments

Post by drookie »

Hi, I'm using OTRS 3.1.1 and I'm trying to migrate OTRS attachments from DB to FS, as they do take way lot of a storage on the DB server.
Shile migrating I got the error

Code: Select all

NOTICE: 33782/349612 (TERROR: OTRS-otrs.ArticleStorageSwitch.pl-10 Perl: 5.12.5 OS: solaris Time: Wed Sep 28 14:36:30 2016                                                                                                                        
 Message: File '/usr/local/otrs-3.1.1/var/article/2012/10/22/47010/История_покупок,_та_же_последовательность_действий.tiff' doesn't exist!
                                                                                                                        
 Traceback (19307):
   Module: Kernel::System::Main::FileRead (v1.61) Line: 320
   Module: Kernel::System::Ticket::ArticleStorageFS::ArticleAttachmentIndexRaw (v1.77) Line: 482
   Module: Kernel::System::Ticket::Article::ArticleAttachmentIndex (v1.307) Line: 3380
   Module: Kernel::System::Ticket::TicketArticleStorageSwitch (v1.540) Line: 7032
   Module: bin/otrs.ArticleStorageSwitch.pl (v1.16) Line: 165

ERROR: OTRS-otrs.ArticleStorageSwitch.pl-10 Perl: 5.12.5 OS: solaris Time: Wed Sep 28 14:36:30 2016
How do I get rid of it ? I guess it's because something is wrong with filename. It actually does exists, but one of it's symbols (just one) differs from the name mentioned in the error. For now I have changed "exit 1" around this error in the export script and it continues to run, but I would like to know how do I fix this properly.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ArticleStorageFS migration - error while converting attachments

Post by jojo »

please migrate to a newer version to get a more tolerant version of the script (3.1. is out of maintenance since years)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
drookie
Znuny newbie
Posts: 2
Joined: 28 Sep 2016, 13:41
Znuny Version: 3.1.1

Re: ArticleStorageFS migration - error while converting attachments

Post by drookie »

I would, but at this time I cannot - it's heavily customized, and the employees that made these customizations are no longer working.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ArticleStorageFS migration - error while converting attachments

Post by jojo »

so especially if you run a system you can not support you should try to get back to a supportable state....
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked