Skip to content

When there's not enough space on local disk the error is displayed briefly and then gone #5746

Closed

Description

@SamuAlfageme

This might be either a regression or expected behavior, but looks rather odd:

Actual behavior

When the disk space available is under the OWNCLOUD_FREE_SPACE_BYTES threshold:

  • All the remote files not synced are created hidden with a .~XXXX suffix and 0B.
  • The Not synced tab displays the errors, but they're tagged as non-fatal (i.e. with the i icon) and therefore, the account page displays no visible error.

space_error

Expected behavior

This kind of errors could be considered "hard" and therefore displayed on the account page visibly for the user to notice them and fix the space problems.

Steps to reproduce

  1. Create a 200MB virtual drive
  2. Add an account and use that drive as local sync folder
  3. Start the sync

Client 2.3.1 on Windows7

Activity

  1. added this to the 2.3.2 milestone on May 4, 2017
  2. guruz commented on May 4, 2017

    @guruz
    Contributor

    FYI @ckamm

  3. self-assigned this
    on May 4, 2017
  4. ckamm commented on May 4, 2017

    @ckamm
    Contributor

    @SamuAlfageme Nice find, will look at it.

    EDIT: Fwiw, we currently intentionally blacklist these errors, so them popping up only occasionally is expected. See #2939 (comment) and #2939 (comment) .

    Removing the blacklisting would be trivial (remove _item->_errorMayBeBlacklisted = true;) and I think it makes sense to not blacklist them. Though a better solution from my point of view would be to instead have a summary "some files could not be synced due to low disk space" message.

    @guruz Since this is intentional I won't put the blacklisting change in 2.3.2.

  5. modified the milestones: 2.4.0, 2.3.2 on May 4, 2017
  6. ckamm commented on May 4, 2017

    @ckamm
    Contributor

    I fixed the spurious temporaries by the way.

  7. added
    ReadyToTest
    on May 8, 2017
  8. removed
    ReadyToTest
    on May 8, 2017
  9. ckamm commented on May 8, 2017

    @ckamm
    Contributor

    @SamuAlfageme Partially this is fixed for 2.3.2 and I'd be glad if you confirmed by testing, but the part about error messaging isn't started yet.

  10. guruz commented on May 9, 2017

    @guruz
    Contributor

    The error too briefly is also here: #5516

  11. added
    ReadyToTest
    on Jul 12, 2017
  12. ckamm commented on Jul 12, 2017

    @ckamm
    Contributor

    Addressed by #5890

  13. SamuAlfageme commented on Jul 27, 2017

    @SamuAlfageme
    ContributorAuthor

    @ckamm nice! working as expected now. Only detail worth to mention is that the empty folders from the selective sync step of the wizard are recreated even though nothing is synced inside them, could be a good idea not to recreate anything locally until we know we have the space in disk.

    Closing here 👍

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

Metadata

Metadata

Assignees

Labels

ReadyToTesttype:bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions