attach files to tickets

Moderator: crythias

Locked
joseandrade
Znuny newbie
Posts: 11
Joined: 30 Jan 2015, 20:18
Znuny Version: 0.4.5
Company: Softinsa

attach files to tickets

Post by joseandrade »

Good afternoon.
I upgraded the otrs for the 0.4.5 version and came to me a problem , I am not able to attach any type of file to tickets .
Someone help me?
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: attach files to tickets

Post by eandrex »

0.4.5 ? are you a tester for that alpha otrs version or something? :lol:

jokes aside, what does your log say?
where are your attachments going? file system or database?

if it is file system did you run otrs.SetPermissions?

we need more info :)
joseandrade
Znuny newbie
Posts: 11
Joined: 30 Jan 2015, 20:18
Znuny Version: 0.4.5
Company: Softinsa

Re: attach files to tickets

Post by joseandrade »

This is my log file :
[Fri Jan 30 18:33:24 2015][Notice][main::_Start] Scheduler Daemon start! PID 20004
[Fri Jan 30 18:34:49 2015][Notice][main::_AutoRestart] Config.pm changed, unsafe to continue!
Scheduler is restarting...!

[Fri Jan 30 18:34:50 2015][Notice][main::_Start] Scheduler Daemon start! PID 20010
[Fri Jan 30 18:35:02 2015][Debug][main::_Status][580] Scheduler Daemon status request! PID 20010
[Fri Jan 30 18:40:02 2015][Debug][main::_Status][580] Scheduler Daemon status request! PID 20010
[Fri Jan 30 18:40:02 2015][Notice][Kernel::System::GenericAgent::JobRun] Run GenericAgent Job 'send escalation noti fications' from config file.
[Fri Jan 30 18:40:03 2015][Notice][Kernel::System::GenericAgent::JobRun] Run GenericAgent Job 'trigger escalation e vents' from config file.
[Fri Jan 30 18:45:01 2015][Debug][main::_Status][580] Scheduler Daemon status request! PID 20010
[Fri Jan 30 18:50:02 2015][Debug][main::_Status][580] Scheduler Daemon status request! PID 20010
[Fri Jan 30 18:55:02 2015][Debug][main::_Status][580] Scheduler Daemon status request! PID 20010
[Fri Jan 30 18:55:02 2015][Notice][Kernel::System::AuthSession::DB::RemoveSessionID] Removed SessionID ZLDKupuy2YzO ha2W5QgUZaWGvd9i9LVq.
[Fri Jan 30 19:00:02 2015][Debug][main::_Status][580] Scheduler Daemon status request! PID 20010
[Fri Jan 30 19:00:02 2015][Notice][Kernel::System::GenericAgent::JobRun] Run GenericAgent Job 'send escalation noti fications' from config file.
[Fri Jan 30 19:00:03 2015][Notice][Kernel::System::GenericAgent::JobRun] Run GenericAgent Job 'trigger escalation e vents' from config file.

And the attachments going to Database.

Can you helpe me
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: attach files to tickets

Post by eandrex »

Well, that logs does not display valuable info to debug what is going on...
look for "Error lines" and paste them.. also look into apache logs.

Also, is your file size smaller than your "WebMaxFileUpload" setting ?.

and what is "WebUploadCacheModule" using? FS or DB?
Soldos
Znuny newbie
Posts: 6
Joined: 30 Jan 2015, 20:50
Znuny Version: 4.0.5
Real Name: Bruno Graça
Company: Softinsa

Re: attach files to tickets

Post by Soldos »

Hello.. same problem, same OTRS :D me and joseandrade work in the same company...
responding:
WebMaxFileUpload - 24000000
WebUploadCacheModule - DB
thera are no error what so ever, the page, after the upload, just's reload's.

in the log i cant find any error.
I believe that it's not permissions issue... whe tried /otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache /opt/otrs, no sucess.. any ideias?????
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: attach files to tickets

Post by eandrex »

Have you edited CustomerTicketMessage.tt/AgentTicketEmail.tt files or any .tt file in special?
any custom development? have you edited Core .js files?

if you hit f12(assuming you are using chrome).. do you see error logs in the console?

if the answer is "no" to these questions.. you could try switching WebUploadCacheModule to FS.. if it does not work and there are no apache error logs.. i would rollback and try to update again
Soldos
Znuny newbie
Posts: 6
Joined: 30 Jan 2015, 20:50
Znuny Version: 4.0.5
Real Name: Bruno Graça
Company: Softinsa

Re: attach files to tickets

Post by Soldos »

Hello Again...

eandrex Your are a live saver......... I recover 10/12 year after implementig your solutions after testing on LAB... its work's....

I have tried that, worever, i forgot to log off from OTRS e login again... DDDDDUUUUUUUMMMMM!!!!!!

once again, Thank You...

THIS ISSUE IS SOLVED...
solution WebUploadCacheModule changed to FS.... :D :D :D
Locked