Skip to content

Maestral seems to ignore new files added to local storage - complex problem #1112

@prentrodgers

Description

@prentrodgers

Is your feature request related to a problem? Please describe.
My setup is a bit complicated. I use the maestral docker image in a kubernetes pod targeting a filesystem on a Persistent Volume managed as a Persistent Volume Claim. This is maestral version 1.9.4. It successfully linked to Dropbox, and over an evening downloaded the requested directories that were not excluded. It successfully keeps track of changes on Dropbox to all the files in Dropbox. But if I add new files to the directory that is local to maestal, it doesn't upload new files to Dropbox. When I ask the filestatus of these files, maestral reports that they are unwatched.

maestral filestatus Dropbox/Uploads/ball9-t54u8_l47_r02_f2.50_c0176_sr1_p0_a1.00_w1.00_d03_46_t024.mp3
unwatched

This may be as designed, and I can work around it by uploading the unwatched files to a Dropbox managed file system on another system that has Dropbox installed. It's then noticed and updated.

Describe the solution you'd like
I would prefer if there were a way to have maestral notice that there are new files that need to be uploaded to Dropbox. Or if there were a command that would force it to notice newly added files in the local file system. I tried the maestral rebuild_index, but that didn't get the files to be discovered.

maestral rebuild-index
Rebuilding the index may take several minutes, depending on the size of your Dropbox. Any changes to local files will be synced once rebuilding has completed. If you
stop the daemon during the process, rebuilding will start again on the next launch. If the daemon is not currently running, a rebuild will be scheduled for the next
startup.

? Do you want to continue? Yes
✓ Rebuilding now. Run 'maestral status' to view progress.

Then I went for a walk and came back

bash-5.1$ maestral status

Account xxx.yyy@gmail.com (Pro)
Usage 6.8% of 2.2 TB used
Status Syncing ↓ 123/489
Sync errors 0
</code

Describe alternatives you've considered
I could copy them to a different server that runs Dropbox on linux.

Additional context
I have been searching for a long time for a solution that allows me to store a Dropbox directory in Kubernetes on a Persistent Volume using a Persistent Volume Claim, and maestral is the first solution that seems to be almost perfect for this. This is a really awesome program that does 99% of what I need. Perhaps I could cobble something together with the maestral API. I'd be happy to share the yaml file if there are others who would like to have it work in kubernetes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions