Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue syncing __init__.py (for django projects at least) #23268

Closed
josh-dix opened this issue Oct 7, 2020 · 3 comments
Closed

Issue syncing __init__.py (for django projects at least) #23268

josh-dix opened this issue Oct 7, 2020 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@josh-dix
Copy link

josh-dix commented Oct 7, 2020

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • 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.

Expected behaviour

I expect the projects to sync fully and without error.

Actual behaviour

Syncing is paused at specific files that it has an error on. I've noticed the files mentioned in the subject cause this error repeatedly. This has also led to my nextcloud instance filling up with 25GB of error logs, but that is out of scope of the nextcloud project I am sure.

Screenshot from 2020-10-07 11-15-33

Steps to reproduce

  1. create a django project in the nextcloud folders (with default hidden filters)
    1a. install python
    1b. python -m pip install django
    1c. navigate to a directory inside nextcloud dir
    1d. django-admin startproject mysite
  2. allow the project to sync up to the nextcloud server (completes successfully)
  3. try to sync on a different client device (fails with pictured error)
  4. in order to delete the offending file, it must deleted from server ui, original client deletion doesn't seem to sync

Client configuration

Client version:
Exists in all 3.0.x so far. I think I recall testing in a windows 2.6.x as well with same error.

Operating system:
Ubuntu

OS language:
English

Qt version used by client package (Linux only, see also Settings dialog):

Nextcloud version 3.0.2-20200924.150911.068ad89d8-1.0~focal1
Using Qt 5.12.8, built against Qt 5.12.8
Using Qt platform plugin 'xcb'
Using 'OpenSSL 1.1.1f 31 Mar 2020'
Running on Ubuntu 20.04.1 LTS, x86_64

Client package (From Nextcloud or distro) (Linux only):
This seemed to start after a server upgrade to 18+ and seems to effect client versions in the 2.x and 3.x cross platform.
ppa:nextcloud-devs/client // nextcloud-client

Installation path of client:
ubuntu: /usr/bin/nextcloud

Server configuration

Nextcloud version:
19.0.3

Storage backend (external storage):
s3 bucket

Logs

  1. Client logfile:
    Output of nextcloud --logdebug --logwindow or nextcloud --logdebug --logfile log.txt
    https://www.cfs1.usdo2.uptimepros.com/nextcloud/index.php/s/i9zRqJxw4fNJ78F

  2. Web server error log:
    I think my permissions were blocking log generation for apache httpd so I'll need to create some.

  3. Server logfile: nextcloud log (data/nextcloud.log):
    https://www.cfs1.usdo2.uptimepros.com/nextcloud/index.php/s/x7KFAaPGRDw6ygK

@er-vin
Copy link
Member

er-vin commented Oct 8, 2020

From the logs you provided this looks more like an issue on the server end. The client tries to pull one of the init.py files from the server and the S3 storage claims it can't find it leading to a 503 being replied to the client. Not something which can be fixed on the client end. I'll transfer this to the server.

@er-vin er-vin transferred this issue from nextcloud/desktop Oct 8, 2020
@kesselb
Copy link
Contributor

kesselb commented Oct 8, 2020

Looks like #22651 and #22482.

@kesselb kesselb added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 8, 2020
@josh-dix
Copy link
Author

josh-dix commented Oct 9, 2020

#22651 was indeed the culprit and upgrading to 19.0.4 did the trick :).

@josh-dix josh-dix closed this as completed Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

3 participants