Nextcloud snap - missing Imagick module

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 19.0.1 - installed via snap
Operating system and version: Ubuntu 20.04
Apache or nginx version: 2.4.43
PHP version: 7.3.2
Running in a VM on Proxmox

The issue you are facing:

From the “Administrator - Overview” section, I get the following warning:

There are some warnings regarding your setup.

This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
    imagick

The output of your Nextcloud log in Admin > Logging:

Error	PHP	session_start(): A session had already been started - ignoring at /snap/nextcloud/22400/htdocs/lib/private/Session/Internal.php#209	
2020-08-05T14:12:56-0400
Error	PHP	session_start(): A session had already been started - ignoring at /snap/nextcloud/22400/htdocs/lib/private/Session/Internal.php#209	
2020-08-05T14:12:52-0400
Error	cron	Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory	
2020-08-05T14:07:23-0400
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2020-08-05T13:40:48-0400
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2020-08-05T13:40:48-0400
Error	PHP	fopen(/var/snap/nextcloud/common/nextcloud/data/jon/files/Documents/****): failed to open stream: No such file or directory at /snap/nextcloud/22400/htdocs/lib/private/Files/Storage/Local.php#352	
2020-08-05T13:40:48-0400
Error	PHP	fopen(/var/snap/nextcloud/common/nextcloud/data/jon/files/Documents/****: failed to open stream: No such file or directory at /snap/nextcloud/22400/htdocs/lib/private/Files/Storage/Local.php#352	
2020-08-05T13:40:48-0400
Fatal	webdav	Sabre\DAV\Exception\ServiceUnavailable: Could not open file	
2020-08-05T13:40:48-0400

The output of your config.php file in /var/snap/nextcloud/current/nextcloud/config/config.php (make sure you remove any identifiable information!):

https://paste.kodi.tv/vunalehuca

2 Likes

+1,
it’s kinda funny when you have prepackaged app to avoid dependency issue with OS, that have dependency issue within itself.

3 Likes