Skip to content

Auto-upload working for photos, not videos #12347

Closed as not planned
Closed as not planned

Description

@locksec

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Taking a photo triggers an auto-upload instantly
  2. Recording a video is not triggering auto-upload of the video
  3. Tried using the Google Camera which uses a prefix PXL_(E.g. PXL_20240108_001526696.mp4) and the stock camera which has a VID_ prefix. Doesn't make any difference
  4. Disabled "Pause app activity if unused"
  5. Tried disabling Battery Manager

Unsure if this is only happening on GrapheneOS, or this specific version of Android.

Expected behaviour

Videos should upload

Actual behaviour

No videos are uploaded

Android version

14

Device brand and model

Pixel 8 Pro

Stock or custom OS?

Stock

Nextcloud android app version

3.27.0

Nextcloud server version

27.1.5

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

No response

Additional information

Running latest version of GrapheneOS

Activity

  1. joshtrichards commented on Jan 9, 2024

    @joshtrichards
    Member

    Do you have two auto-upload profiles configured - one for images and another for videos - or just one?

    To the right the cloud icon indicates which ones are active while the icon to the far left indicates the media type.

  2. github-actions commented on Feb 12, 2024

    @github-actions

    This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

  3. neoriae commented on Feb 21, 2024

    @neoriae

    Hello,

    Do you have two auto-upload profiles configured - one for images and another for videos - or just one?

    I guess he only had one profile configured, but the reason I'm commenting here is that I think it's very counter-intuitive to have to create two profiles.

    I think it would be better to add a checkbox "Also upload videos" (or "Include videos") in the configuration of a profile, instead of having to create two. I've been backing up my phone on Nextcloud for 2 years now, and I'm only just discovering that the few videos I've shot have never been uploaded!

    Thanks for reading, and have a nice day!

  4. joshtrichards commented on Feb 21, 2024

    @joshtrichards
    Member

    @neoriae Sounds like a reasonable idea. Would you create a dedicated issue containing your enhancement idea so it doesn't get lost in this one?

  5. removed
    needs infoWaiting for info from user(s). Issues with this label will auto-stale.
    on Feb 23, 2024
  6. added
    needs infoWaiting for info from user(s). Issues with this label will auto-stale.
    on Feb 24, 2024
  7. github-actions commented on Mar 24, 2024

    @github-actions

    This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

  8. blkhawk commented on Apr 24, 2024

    @blkhawk

    While it is likely that GP had just not added the folder for video files I had something similar happen to me on a recently installed grapheneos and thats why I thought I mention it for the record. Basically the Nextcloud app stopped uploading my pictures and videos eben tho I have a similar permissive setup as GP.

    I noticed that in the Auto Upload configuration folders were offered that I had already deleted with thumbnails of images I had also already deleted. Force stopping the Nextcloud app made those go away but new pictures were still not uploaded but strangely one of the pictures showed up in the autoupload view but again was not synced. I have 3 camera apps installed on the phone and i made pictures with two of them as a test.

    I think what happens is this: the nextcloud app cannot properly deal with multiple apps if they all point to the same directory for upload. This is a bug I think probably with how Android deals with file access permissions. A workaround seems to be to just use different folders for each app.

    Why does this happen in grapheneos? Frankly because the Camera app is a bit barebones and that prompts people to install OpenCamera and/or Pixel Camera. My guess its not something tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions