Synchronize the client files manually

:nail_care: details=“Support intro”]

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

[/details]

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:

Is this the first time you’ve seen this error? _(Y/N):N

I wish to synchronize my files manually.
Typically, I use a nextcloud server from a Linux machine.
Every things is fine if I open an X session (thus, nextcloud run), but it I log on the machine in a terminal, my files are not synchronized.

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

https://docs.nextcloud.com/desktop/3.9/advancedusage.html#nextcloud-command-line-client

Another option would be a mount rather than sync:

https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html#creating-webdav-mounts-on-the-linux-command-line

Thank Josh,

Thank for the suggestions.
However, this does not really applied in my case.
Here more details.
From a machine A,
I synchronized some directories to the server cloud by using the graphics tool of nextcloud
(nextcloud is started automatically when the user start a X session).
Then, the user logout (and quits the X session [graphics mode]).
If the synchronized directories are modified by another machine B (using the same configuration tool),
the directories are not synchronized on machine A (since nexcloud is not running due to the lack of login
in graphics mode [no X session running]). In theory, this would not matter until the user connect in text mode.
In text mode (no X session), the user would like to synchronize to the server.

If I make mkdir Nexcloud_dir on machine A, and then
nextcloudcmd Nextcloud_dir cloud.server
it copies the entire space of the user (of the cloud server) to Nextcloud_dir
Of course, this is not a good point.
If I do a mount, it will produce the same result.
I would like that nextcloud just “synchronizes” the local directories of machine A which may have been updated
by machine B (or directly through https://cloud.server). I use a double synchronization.

Thank for your help.