Page 1 of 1

File links broken after upgrade

Posted: Tue May 19, 2020 2:59 pm
by ckempter
I recently upgraded to the latest version of Hesk and have found that any file link in my knowledgebase has been broken and I get the message:
This file has been deleted from the server and is no longer available for download

What has happened? Where do I find those files?

Thanks for any and all help

Re: File links broken after upgrade

Posted: Tue May 19, 2020 4:49 pm
by Klemen
Upgrades never delete any files.

What exact version did you upgrade from and what version to?
Did you make any manual changes/maintenance in your "attachments" folder?
Can we see your help desk?
Can we see your phpinfo?

Re: File links broken after upgrade

Posted: Tue May 19, 2020 5:33 pm
by ckempter
Thanks for the quick reply:
Upgraded from 2.6.8 to 3.10
Didn't touch attachments folder
********************

Re: File links broken after upgrade

Posted: Tue May 19, 2020 5:45 pm
by Klemen
I'll look at it later, but please don't post your passwords publicly!!

Re: File links broken after upgrade

Posted: Tue May 19, 2020 6:40 pm
by Klemen
I added a test (private) article and attachments work fine.

This means the old attachments are missing (or unreadable). Are there any files visible in your "attachments" folder?

Did you upgrade 2.6.8 over existing files, or did you make copies?

Re: File links broken after upgrade

Posted: Thu May 21, 2020 4:57 pm
by ckempter
I have a copy of the old version which has many files in the attachments folder
The upgrade version has no files in the attachments folder. Is it a simple copy?

Re: File links broken after upgrade

Posted: Fri May 22, 2020 11:40 am
by Klemen
Yes, copy. Depending on your server set up, you may need to additionally change CHMOD and/or owner/group permissions of the files if you have trouble reading or deleting old files from within Hesk.

Re: File links broken after upgrade

Posted: Fri May 22, 2020 2:54 pm
by ckempter
Thanks. Solved.