Nextcloud (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 19: Zeile 19:


<pre>
<pre>
wget https://download.nextcloud.com/server/releases/nextcloud-10.0.1.tar.bz2
wget https://download.nextcloud.com/server/releases/nextcloud-9.0.54.tar.bz2
wget https://download.nextcloud.com/server/releases/nextcloud-10.0.1.tar.bz2.md5
wget https://download.nextcloud.com/server/releases/nextcloud-9.0.54.tar.bz2.md5


md5sum nextcloud-10.0.1.tar.bz2 > nextcloud-10.0.1.tar.bz2_own.md5
md5sum nextcloud-9.0.54.tar.bz2 > nextcloud-9.0.54.tar.bz2_own.md5
diff -s nextcloud-10.0.1.tar.bz2.md5 nextcloud-10.0.1.tar.bz2_own.md5
diff -s nextcloud-9.0.54.tar.bz2.md5 nextcloud-9.0.54.tar.bz2_own.md5
</pre>
</pre>


<pre>
<pre>
tar xjf nextcloud-10.0.1.tar.bz2
tar xjf nextcloud-9.0.54.tar.bz2
sudo mv nextcloud /var/www/nextcloud
sudo mv nextcloud /var/www/nextcloud
</pre>
</pre>

Version vom 3. Oktober 2016, 21:26 Uhr

Noch in Bearbeitung

Migration von Owncloud

mysql -u root -p
mysql> create database if not exists nextcloud;
mysql> create user 'nextcloud'@'%' identified by '<password>';
mysql> grant all on nextcloud.* to 'nextcloud'@'%';
mysql> create user 'nextcloud'@'localhost' identified by '<password>';
mysql> grant all on nextcloud.* to 'nextcloud'@'localhost';
mysql> flush privileges;
mysql> exit
mysql -u root -p nextcloud < /<backup path>/owncloud_dump.sql
wget https://download.nextcloud.com/server/releases/nextcloud-9.0.54.tar.bz2
wget https://download.nextcloud.com/server/releases/nextcloud-9.0.54.tar.bz2.md5

md5sum nextcloud-9.0.54.tar.bz2 > nextcloud-9.0.54.tar.bz2_own.md5
diff -s nextcloud-9.0.54.tar.bz2.md5 nextcloud-9.0.54.tar.bz2_own.md5
tar xjf nextcloud-9.0.54.tar.bz2
sudo mv nextcloud /var/www/nextcloud
sudo cp -r --preserve=mode,timestamps /<backup path>/owncloud/data/ /var/www/nextcloud/
sudo cp -r --preserve=mode,timestamps /<backup path>/owncloud/config/ /var/www/nextcloud/
sudo chown -R www-data:www-data /var/www/nextcloud

Links

https://help.nextcloud.com/t/migrating-from-owncloud-to-nextcloud/551


Zurück zu Ubuntu