IT/Software/Web Applications/NextCloud: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
Line 7: Line 7:
===Configure===
===Configure===
Make sure you have a big directory outside of www AND that the directory is web-writeable and mounted at boot.
Make sure you have a big directory outside of www AND that the directory is web-writeable and mounted at boot.
=== Update ===
This can now(since 17) be done via the gui.
Older versions need
sudo -u www-data php /var/www/html/next.msgcnx/updater/updater.phar


===Tricks===
===Tricks===
Line 19: Line 26:
<code>sudo -u www-data php /var/www/html/mir.next.msgvte/occ --verbose --unscanned files:scan --all
<code>sudo -u www-data php /var/www/html/mir.next.msgvte/occ --verbose --unscanned files:scan --all
</code>
</code>
*-u will specify the user
*-u will specify the user
*php runs the current version of php.
*php runs the current version of php.

Revision as of 09:12, 11 August 2020

This is an amazing tool that as of now (May 1 2020) is getting amazingly fast development.

As with most things of this sort the prices will soon appear and it will become a paid product

Install

Configure

Make sure you have a big directory outside of www AND that the directory is web-writeable and mounted at boot.

Update

This can now(since 17) be done via the gui.

Older versions need

sudo -u www-data php /var/www/html/next.msgcnx/updater/updater.phar

Tricks

Syncing Files

  • This very important in the self hosted world. How do we put and get files outside of the app itself.
  • This can easily be done though you need root access.
  • Use rsync or similar to sync or copy programs right into the directories.
  • Then you need to run an occ (OwnCloudCommand) program with php to rescan for files. Then it will add all the files to the database.

sudo -u www-data php /var/www/html/mir.next.msgvte/occ --verbose --unscanned files:scan --all

  • -u will specify the user
  • php runs the current version of php.
  • --verbose or -V tell you more as it happens.
  • --unscanned will only check what has not been scanned. HUGE time savings.
  • files:scan is the actual command or program that runs.
  • --all says all user and all files (--unscanned still applies)