nextcloud / nextcloud/notify_push

Use of `notify_push` with `nextcloudcmd` for headless server syncing

Open
#682 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
344
Forks
64
Avg merge
2d 10h
Merged PRs (30d)
5

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: (see administration page)
32.0.5

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently there's not Official sync client for use on Headless servers which run as daemon or background service.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Would be great if nextcloudcmd could be altered to have support for Notify_push (so it knows when to download) and watch the filesystem (so it knows when to upload).

But in the mean time, one can sort of create this themselves by triggering nextcloudcmd based on inotifywait - but for the other side, how can one trigger nextcloudcmd from the test_client when it receives an event?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

forking the desktop client to be GUI less - but this is a really large undertaking.

Additional context
Add any other context or screenshots about the feature request here.

I want to setup a client on a QNAP TS-133 - so it sync the online with an offline, this way local computers can use the local internet speed of the NAS, and remote computers can still see the updates

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the nextcloudcmd and test_client entry points mentioned in the request, then trace how notify_push events are received and how inotifywait currently triggers syncing. Define the intended headless-server workflow and its completion criteria before estimating an implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.