user2509663
user2509663

Reputation: 179

Reinstalling Owncloud 9 on Ubuntu 16

I wanted to create a fresh install of the program owncloud again

$ sudo apt-get remove owncloud
$ sudo apt-get purge owncloud
$ sudo apt-get autoremove
$ sudo rm -rf /var/wwww/owncloud

After this, I wanted to install owncloud again

$ sudo apt-get install owncloud

The second installation of owncloud did not create /var/www/owncloud again, as the first did. So, what did I do wrong and is there a possibility to install it normally again?

Upvotes: 3

Views: 10161

Answers (2)

elopezp
elopezp

Reputation: 627

First of all, you need to purge all dependencies then by using reinstall flag you should accomplish it as the following lines:

$ sudo apt-get purge owncloud-*
$ sudo apt-get install --reinstall owncloud

Upvotes: 1

user2509663
user2509663

Reputation: 179

So, I found the mistake that I made. I did not remove ownlcoud completely.

$ sudo apt-get purge owncloud
$ sudo apt-get purge owncloud-*
$ sudo apt-get autoremove
$ sudo apt-get install owncloud

After the procedure above, owncloud was freshly reinstalled

Upvotes: 2

Related Questions