Excellent instructions! Thank you very much :-) Cheers, Diederik
On Thursday 11 October 2012 15:23:55 Michael Göhler wrote: > Hi Diderick, > > when you extract a tar archive without -p option the extracted files > ownership is changed do your user-id and primary group-id. > > When your config directory is a symlink, your tar command has to have > the -h switch, otherwise it is overwritten by the tar extract. (testet > this right away) > > For me the tar archive should be packed without the leading owncloud > folder. Because someone may have installed owncloud in web-root like > me. As a workaround we can use the "--strip-components=1" switch. > > So this is how I would do it: > > first change user to www-data and go to your owncloud root directory > > backup old installation > tar -cjvf /some/backup/dir/owncloud_backup.tar.bz2 > > install new version > tar --strip-components=1 -xjvf /some/download/dir/owncloud-4.5.0.tar.bz2 > (in your case you may need -h switch here) > > Maybe you also need to change the ownership of all files from root to > www-data first. (chown -R www-data:www-data /path/to/owncloud) > > Regards, > Michael > > > Am Thu, 11 Oct 2012 14:22:01 +0200 > > schrieb Diederik de Haas <[email protected]>: > > My advice: remove the "Unpack the release tarball in the owncloud > > directory" from the update and upgrade procedure ASAP and replace it > > my extracting it in a temp directory and then *copy* the > > file/directories into your owncloud installation directory over your > > existing installation (ie remove step 4) if you don't want to change > > all ownership/permissions again. _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
