Nextcloud: Difference between revisions
imported>Ma27 make it clear that we don't ship unsupported nextcloud majors in nixpkgs. |
imported>Onny Example client usage |
||
Line 26: | Line 26: | ||
In theory, your nextcloud has now been upgraded by one version. NixOS attempts <code>nextcloud-occ upgrade</code>, if this succeeds without problems you don't need to do anything. Check <code>journalctl</code> to make sure nothing horrible happened. Go to the <code>/settings/admin/overview</code> page in your nextcloud to see whether it recommends further processing, such as database reindexing or conversion. | In theory, your nextcloud has now been upgraded by one version. NixOS attempts <code>nextcloud-occ upgrade</code>, if this succeeds without problems you don't need to do anything. Check <code>journalctl</code> to make sure nothing horrible happened. Go to the <code>/settings/admin/overview</code> page in your nextcloud to see whether it recommends further processing, such as database reindexing or conversion. | ||
== Clients == | |||
=== Nextcloudcmd === | |||
'''nextcloudcmd''' is a terminal client performing only a single sync run and then exits. Following example command will synchronize the local folder <code>/home/myuser/music</code> with the remote folder <code>/music</code> of the Nextcloud server <code>https://nextcloud.example.org</code>. | |||
<syntaxhighlight lang="console"> | |||
# nix shell nixpkgs#nextcloud-client -h --user example --password test123 --path /music /home/myuser/music https://nextcloud.example.org | |||
</syntaxhighlight> | |||
The argument <code>-h</code> will enable syncing hidden files. For demonstration purpose username and password are supplied as an argument. This is a security risk and shouldn't be used in production. | |||
== Tips and tricks == | == Tips and tricks == |