linux:owncloud:addfiles
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:owncloud:addfiles [2017/08/27 08:11] – created rplecko | linux:owncloud:addfiles [2021/04/27 11:16] (current) – rplecko | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | === Manually add files to ownCloud | + | === Manually add files to OwnCloud / NextCloud |
| + | |||
| + | [[http:// | ||
| + | |||
| + | First, find your data folder | ||
| + | < | ||
| + | |||
| + | find / -name config.php 2>/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | Now // | ||
| + | |||
| + | OwnCloud: | ||
| + | < | ||
| + | |||
| + | cd / | ||
| + | |||
| + | </ | ||
| + | |||
| + | NextCloud: | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | |||
| + | </ | ||
| + | |||
| + | Check the folder content | ||
| + | |||
| + | < | ||
| + | ls -all | ||
| + | |||
| + | </ | ||
| + | |||
| + | Find the users folder (cd again to it) find the files folder (cd again to it) and create a new folder within or move/copy files here | ||
| + | |||
| + | < | ||
| + | mkdir testfolder | ||
| + | |||
| + | </ | ||
| + | |||
| + | Moving a file/folder (or creating a new folder) into ownCloud' | ||
| + | |||
| + | < | ||
| + | find / -name " | ||
| + | |||
| + | </ | ||
| + | |||
| + | Change to folder in which occ was discovered: | ||
| + | |||
| + | OwnCloud: | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | |||
| + | </ | ||
| + | |||
| + | NextCloud: | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | |||
| + | </ | ||
| + | |||
| + | …and start occ to scan users folder | ||
| + | |||
| + | < | ||
| + | sudo -u www-data php occ files:scan --all | ||
| + | |||
| + | </ | ||
| + | |||
| + | this is how the output should look like | ||
| + | |||
| + | < | ||
| + | root@owncloud:/ | ||
| + | |||
| + | Scanning files for 6 users | ||
| + | Starting scan for user 1 out of 6 (admin) | ||
| + | Starting scan for user 2 out of 6 (xxxxx1) | ||
| + | Starting scan for user 3 out of 6 (yyyyy2) | ||
| + | Starting scan for user 4 out of 6 (zzzzz3) | ||
| + | Starting scan for user 5 out of 6 (aaaaa4) | ||
| + | Starting scan for user 6 out of 6 (bbbbb5) | ||
| + | |||
| + | +---------+--------+--------------+ | ||
| + | | Folders | Files | Elapsed time | | ||
| + | +---------+--------+--------------+ | ||
| + | | 24076 | 150551 | 00: | ||
| + | +---------+--------+--------------+ | ||
| + | |||
| + | </ | ||
| + | |||
| + | Now, the folder you have just created will appear in your web client... | ||
| + | |||
| + | |||
| - | http:// | ||
linux/owncloud/addfiles.1503821494.txt.gz · Last modified: 2017/08/27 08:11 by rplecko
