I build and configured my Tiki installation on XAMPP on Windows Server 2012 R2. It was kind of slow so I have now migrated the installation to Ubuntu 17 and NGINX.
Everything is working much faster now except that all of the attachments on my wiki pages are blank. They are stored outside of the database in a folder inside of the tiki installation folder. Tiki still acknowledges that the attachments are there and it will try to download them but the files that you download are completely blank. I have checked the contents of the attachment files on the server by manually adding extensions to them and opening them. All of the data is still there but it is being lost somewhere in the process of downloading them from Tiki.
I have checked the permissions on these files and everything appears to be correct.
I have checked the mysql table "tiki_wiki_attachments" and the entries for all of the attachments are still present and correct.
I had a similar problem with files within the file galleries but running "sh setup.sh" fixed those.
Any ideas on how to correct the attachments?