Sync.conf Linux Configuration - Error while parsing config file 'shared_folders' must be in global config section


mayday295

Recommended Posts

I am attempting to run my edited sync.conf file on linux but I am running into an error that states:

"Error while parsing config file: Invalid key context: 'shared_folders' must be in global config section"

 

Not sure what this means or what to do about this, as I don't see any global config section.

 

Full .conf file is attached.

sync.conf

Link to comment
Share on other sites

  • mayday295 changed the title to Sync.conf Linux Configuration - Error while parsing config file 'shared_folders' must be in global config section

Thanks again eltopo.

 

One other question on the actual configuration. I setup the dir folder to be added to sync, and after executing the config file, noticed the .sync folder added. However, when I used the read/write secret key that I generated in the file, there were no folders/files available to sync to my PC. Hoping to use this .conf file to configure the same setup and deploy quickly on many units, with the only change being the secret key. Is there something I may be missing in order to get that folder/subfolders contents to show up during sync when just using the .conf file from what you can see in my file?

This was the dir under shared folders: "/opt/guestBook/guestsRecordings" - again the .sync hidden folder was added, but using the secret key, there were no folders/files to sync to my pc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.