How can I get a working owncloud server with a working dokuwiki? The dokuwiki entries should not be destroyed...
On a raspberry pi an owncloud installation was made following this article (nginx php5-fpm php5-sqlite php5-gd installed; owncloud.vhost created and linked; owncloud extracted -> /etc/www -> chmod www-data; nginx service started; reboot). However, we did a dokuwiki installation using a howto (german) with these steps:
cd ~
sudo apt-get update
sudo apt-get install apache2 libapache2-mod-php5
wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
tar xfz dokuwiki-stable.tgz
sudo mv dokuwiki-2014-09-29b /var/www
sudo chown -R www-data:www-data /var/www/dokuwiki-2014-09-29b
After that we followed the instructions of
http://IP_OF_PI/dokuwiki/install.php
As far as I remember, there were failures in the
sudo apt-get install
. However, those were at points were services had to be restarted. We did this afterwards by rebooting the raspberry pi.
Now we are able to use our dokuwiki, but not our owncloud. However, before rebooting we were able to access owncloud with https://IP_OF_PI/owncloud
. I never got it to sync with other clients so far, but upload of files and access with a browser on other machines was possible.
When we do a (necessary for installation of owncloud)
sudo /etc/init.d/nginx start
the output is
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx.
The output of
raspberry ~ $ apache2ctl -S
is
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
I do not understand what the dokuwiki installation changed so that the nginx is not startable/restartable anymore...
Asked by Stefan Bollmann
(249 rep)
Jan 3, 2015, 02:35 PM
Last activity: Jan 5, 2015, 10:03 PM
Last activity: Jan 5, 2015, 10:03 PM