Hello,
I apologize in advance if this is not the correct section for posting. This is my first time partaking in a forum. I am facing various problems.I installed roundcube and all sorts of weirdness began. Before I (foolishly) rebooted the server, I received error 4000. One problem is that Nginx won't start and Nginx.conf test failed. Any time I try to make modifications to packages such as
apt-get remove --purge mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql
root@OpenMediaVault:~# apt-get --purge remove openmediavault-roundcube
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
openmediavault-mysql openmediavault-roundcube
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 260 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 56300 files and directories currently installed.)
Removing openmediavault-roundcube ...
Reloading PHP5 FastCGI Process Manager: php5-fpm.
Reloading nginx configuration: nginx: [emerg] "client_max_body_size" directive invalid value in /etc/nginx/openmediavault-webgui.d/openmediavault-webdav.conf:3
nginx: configuration file /etc/nginx/nginx.conf test failed
dpkg: error processing openmediavault-roundcube (--remove):
subprocess installed post-removal script returned error exit status 1
Removing openmediavault-mysql ...
Reloading nginx configuration: nginx: [emerg] "client_max_body_size" directive invalid value in /etc/nginx/openmediavault-webgui.d/openmediavault-webdav.conf:3
nginx: configuration file /etc/nginx/nginx.conf test failed
invoke-rc.d: initscript nginx, action "reload" failed.
dpkg: error processing openmediavault-mysql (--remove):
subprocess installed post-removal script returned error exit status 1
Processing triggers for openmediavault ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-roundcube
openmediavault-mysql
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
Display More
There is an error code.
I have also tried dpkg -l | grep openmediavault which gives me this
dpkg -l | grep openmediavault
ii openmediavault 2.1.25 all Open network attached storage solution
ii openmediavault-backup 1.0.11 all backup plugin for OpenMediaVault.
ii openmediavault-clamav 2.1 all OpenMediaVault ClamAV plugin
ii openmediavault-cups 2.1 all OpenMediaVault CUPS (network printer server) plugin.
ii openmediavault-fail2ban 1.1.4 all OpenMediaVault Fail2ban plugin
ii openmediavault-flashmemory 1.9.1 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 0.4 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-letsencrypt 2.3 all Generate free and valid SSL certificates for OMV
ii openmediavault-minidlna 1.1 all OpenMediaVault miniDLNA (DLNA server) plugin
ii openmediavault-mumble 1.0.2 all Mumble server plugin for OpenMediaVault.
rH openmediavault-mysql 2.1 all MySQL plugin for OpenMediaVault.
ii openmediavault-omvextrasorg 2.13.1 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-plexmediaserver 1.0.14 all OpenMediaVault Plex Media Server plugin
rH openmediavault-roundcube 1.1 all OpenMediaVault Roundcube (webmail) plugin
ii openmediavault-transmissionbt 1.4 all OpenMediaVault Transmission (BitTorrent client) plugin.
ii openmediavault-virtualbox 1.3 all VirtualBox plugin for OpenMediaVault.
ii openmediavault-webdav 2.0 all OpenMediaVault WebDAV plugin.
Display More
If I try dpkg -l | grep mysql
dpkg -l | grep mysql
ii libdbd-mysql-perl 4.021-1+b1 amd64 Perl5 database interface to the MySQL database
ii libmysqlclient18:amd64 5.5.47-0+deb7u1 amd64 MySQL database client library
ii mysql-client-5.5 5.5.47-0+deb7u1 amd64 MySQL database client binaries
ii mysql-common 5.5.47-0+deb7u1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.47-0+deb7u1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.47-0+deb7u1 amd64 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.47-0+deb7u1 amd64 MySQL database server binaries
rH openmediavault-mysql 2.1 all MySQL plugin for OpenMediaVault.
The OMV Webserver does not work although other services do. All I get is a page saying "It works!"
If I try to start nginx with service nginx start, this is the output
service nginx start
Starting nginx: nginx: [emerg] "client_max_body_size" directive invalid value in /etc/nginx/openmediavault-webgui.d/openmediavault-webdav.conf:3
nginx: configuration file /etc/nginx/nginx.conf test failed
Please help, I have reached a dead end and no other forum post that I have read has helped.