Hey,
I’ve just setup OwnCloud 9 in an intranet, the server will not be accessible from the internet.
I need PSD previews, yes I know a vulnerability was recently discovered, this server will only be used on an intranet.
I’ve installed ImageMagick as well as the imagick php library and enabled file previews in the config file, the problem is as soon as I upload a PSD file, two apache threads hit 100% and stay that way for hours until I restart apache and no previews are created for the PSD file.
Any ideas?
Hi,
if you’re sure that you’re running a recent version like 9.0.5 or 9.1.1 (please always include the full version you’re using) report a new bug to:
Apologies, running version 9.1.1
Then please go for a bugreport. Marking this as solved as you got pointed to the direction where to report issues like this.
Mhh, seems they are aware of this issue:
opened 11:58AM - 25 Oct 16 UTC
closed 12:32PM - 25 Oct 16 UTC
status/STALE
### Steps to reproduce
1. Install Owncloud 9.1.1
2. Install imageMagick & php-im… agick
3. add the following to config:
'enabledPreviewProviders' => array(
'OC\Preview\Photoshop',
'OC\Preview\Illustrator',
),
4. Open HTOP and upload PSD file
### Expected behaviour
Preview of uploaded PSD should be generated.
### Actual behaviour
Depending on the server CPU, in my scenario, 2 httpd threads hit 100% and do not come down until apache is manually restarted
### Server configuration
**Operating system**: CentOS 7.2
**Web server:** Apache 2.4
**Database:** MariaDB 10.1
**PHP version:** PHP 5.6
**ownCloud version:** 9.1.1
**Updated from an older ownCloud or fresh install:** Fresh Install
**Where did you install ownCloud from:** Owncloud.com
**Signing status (ownCloud 9.0 and above):** 9.1.1
**List of activated apps:**
Enabled:
- activity: 2.3.2
- comments: 0.3.0
- dav: 0.2.6
- federatedfilesharing: 0.3.0
- federation: 0.1.0
- files: 1.5.1
- files_pdfviewer: 0.8.1
- files_sharing: 0.10.0
- files_texteditor: 2.1
- files_trashbin: 0.9.0
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 15.0.0
- notifications: 0.3.0
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.1
- updatenotification: 0.2.1
**The content of config/config.php:**
{
"system": {
"instanceid": "oc2znqqhj8qc",
"passwordsalt": "**_REMOVED SENSITIVE VALUE**_",
"secret": "**_REMOVED SENSITIVE VALUE**_",
"trusted_domains": [
"192.168.123.230"
],
"log_type": "owncloud",
"logfile": "\/var\/log\/owncloud.log",
"loglevel": 2,
"memcache.local": "\OC\Memcache\APCu",
"memcache.distributed": "\OC\Memcache\Memcached",
"memcached_servers": [
[
"localhost",
11211
]
],
"enable_previews": true,
"enabledPreviewProviders": [
"OC\Preview\Photoshop",
"OC\Preview\Illustrator",
"OC\Preview\PDF"
],
"datadirectory": "\/var\/www\/html\/owncloud\/data",
"overwrite.cli.url": "http:\/\/192.168.123.230\/owncloud",
"dbtype": "mysql",
"version": "9.1.1.3",
"dbname": "owncloud438",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "**_REMOVED SENSITIVE VALUE**_",
"dbpassword": "**_REMOVED SENSITIVE VALUE**_",
"logtimezone": "UTC",
"installed": true
}
}
**Are you using external storage, if yes which one:** local
**Are you using encryption:** no
**Are you using an external user-backend, if yes which one:** local
### Client configuration
**Browser:** Chrome
**Operating system:** Win 10
Figured out the problem, this isn’t an issue with OC. Turn’s out I had ImageMagick 6.7 installed, default shipped with CentOS. Tried converting a PSD to PNG via command line and experienced the same issue.
Upgraded to ImageMagick7 using remi’s repo and everything’s working dandy now.