# Kanboard 1.2.7 cannot view attachment, but download is okay

**URL:** https://kanboard.discourse.group/t/kanboard-1-2-7-cannot-view-attachment-but-download-is-okay/96
**Category:** Open Discussions
**Created:** [January 8, 2019, 12:42pm UTC](https://kanboard.discourse.group/t/kanboard-1-2-7-cannot-view-attachment-but-download-is-okay/96 "2019-01-08T12:42:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pchiu](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pchiu](https://kanboard.discourse.group/u/pchiu)
#### Post date: [January 8, 2019, 12:42pm UTC](https://kanboard.discourse.group/t/kanboard-1-2-7-cannot-view-attachment-but-download-is-okay/96/1 "2019-01-08T12:42:52Z")

</div>

Hello all,

I am assisting a project to upgrade kanboard 1.2.5 to 1.2.7.  
After the upgrade, our user reported that he cannot view  
a previously produced attachment, but can do so on a newly created attachment.

In checking my notes, I realised that I have not copied the attachments  
from the old folder /var/www/html/kanboard-1.2.5/data/files/tasks to  
/var/www/html/kanboard-1.2.7/data/files/tasks/.

Having rsynced the attachments, and restarted the web server, I can now download  
the attachment, and open it for view. But when I click on the “View file”  
option on the attachment, it opens a new window, displays a blank page.  
Again, I can choose the “Download” option to save it as a file, then open it to view is fine.

I did check the /var/www/html/kanboard/data/debug.log, it only shows two errors:

[2019-01-08 11:42:22] [critical] GroupAssign: Unable to load this plugin class: \Kanboard\Plugin\GroupAssign\Plugin

[2019-01-08 11:42:22] [critical] Group\_assign-master: Unable to load this plugin class: \Kanboard\Plugin\Group\_assign-master\Plugin

There is no file under plugins/GroupAssign/, just an empty folder and  
plugins/Group\_assign-master contains the unzipped files from Group\_assign-master.zip:  
root@proj data]# ls …/plugins/Group\_assign-master  
Action \_config.yml Filter LICENSE Plugin.php Schema Test  
Assets Controller Helper Model README.md Template

Not sure these errors are relevant to the pdf attachment viewing though.

Any advice will be much appreciated.

Regards,  
Peter

---

<div class="post-metadata">

### Author: ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)
#### Post date: [January 9, 2019, 1:46am UTC](https://kanboard.discourse.group/t/kanboard-1-2-7-cannot-view-attachment-but-download-is-okay/96/2 "2019-01-09T01:46:21Z")

</div>

Those errors are unrelated, and will go away if you correctly install Group Assign plugin.

---

<div class="post-metadata">

### Author: ![pchiu](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pchiu](https://kanboard.discourse.group/u/pchiu)
#### Post date: [January 9, 2019, 9:56am UTC](https://kanboard.discourse.group/t/kanboard-1-2-7-cannot-view-attachment-but-download-is-okay/96/3 "2019-01-09T09:56:29Z")

</div>

Thanks.

Looks like I have resolved the issue after restoring the thumbnails files  
under data/files as well as the task files. Somehow without them,  
no PDF file is displayed.

As to the two “unable to load plugin class” errors, I removed  
the two folders plugins/{GroupAssign,Group\_assign-master).  
The errors then disappear from debug.log upon a restart.  
It looks like I have wrongly assumed installing the Group\_assign-master  
plugin by placing the unzipped contents into these folders.  
The process I used to install kanboard\_plugin\_metadata-master.zip  
and Subtaskdate-master.zip seemed to work okay though.

---

<div class="post-metadata">

### Author: ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)
#### Post date: [January 9, 2019, 12:11pm UTC](https://kanboard.discourse.group/t/kanboard-1-2-7-cannot-view-attachment-but-download-is-okay/96/4 "2019-01-09T12:11:22Z")

</div>

Best way to install them is through the Kanboard interface.

Manually, they ALL need to be in the appropriately named folder.  
plugins/GroupAssign  
plugins/Subtaskdate  
plugins/Metadata
