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

"Repeated File Operation and WebDAV Errors in Nextcloud 'Recognize' App" #1089

Closed
BoBBer446 opened this issue Jan 22, 2024 · 5 comments
Closed
Labels
Projects

Comments

@BoBBer446
Copy link

Which version of recognize are you using?

6.0.1

Enabled Modes

Object recognition, Face recognition, Video recognition, Music recognition

TensorFlow mode

Normal mode

Downstream App

Photos App

Which Nextcloud version do you have installed?

28.0.1

Which Operating system do you have installed?

Ubuntu Server 22.04

Which database are you running Nextcloud on?

postgres:latest

Which Docker container are you using to run Nextcloud? (if applicable)

24.0.7

How much RAM does your server have?

16

What processor Architecture does your CPU have?

x86_64

Describe the Bug

Multiple and repeated errors are occurring within the Nextcloud "Recognize" app during file operations and WebDAV processes. The errors include NotPermittedException during folder creation, BadRequest related to file size mismatches, and TypeError in PHP code, all pointing to possible issues with object definitions and network/storage interactions.

Expected Behavior

The app should perform file operations and WebDAV requests without any errors. All functionalities should work as intended, including file previews and metadata handling without throwing exceptions or causing server-side issues.

To Reproduce

Open the Nextcloud "Recognize" app.
Execute file operations such as uploading or moving files.
Observe the errors that occur during regular use, especially those related to file operations and WebDAV requests.
Consult the log files for specific error messages as detailed above.
Note: The exact reproduction steps may vary depending on how the app is used. The key point is that the errors listed are consistent and repeatable.

Debug log

version: '3.8'

services:
  nextcloud:
    image: nextcloud-custom-28:latest
    container_name: nextcloud
    hostname: nextcloud-server
    volumes:
      - /home/docker-projects/nextcloud:/var/www/html
    restart: always
    environment:
      - POSTGRES_HOST=postgres
      - POSTGRES_DB=nextcloud
      - POSTGRES_USER=nextcloud
      - POSTGRES_PASSWORD=securepassword
      - REDIS_HOST=redis
      - PHP_MEMORY_LIMIT=1024M
      - NEXTCLOUD_TRUSTED_DOMAINS=localhost
      - NEXTCLOUD_ADMIN_USER=mysuperusername-very-cool-next
      - NEXTCLOUD_ADMIN_PASSWORD=megasecure#_1
      - NEXTCLOUD_DEFAULT_PHONE_REGION=DE
    ports:
      - "8811:80"
    
    depends_on:
      - postgres
      - redis
  postgres:
    image: postgres:latest
    restart: always
    environment:
      - POSTGRES_DB=nextcloud
      - POSTGRES_USER=nextcloud
      - POSTGRES_PASSWORD=securepassword
    hostname: nextcloud-db
    container_name: nextcloud-db
    volumes:
      - /home/docker-projects/nextcloud/postgres:/var/lib/postgresql/data

  redis:
    image: redis:alpine
    restart: always
    hostname: nextcloud-redis
    container_name: nextcloud-redis

Dockerfile:

FROM nextcloud:28-apache

RUN apt-get update && \
    apt-get install -y libbz2-dev nano ffmpeg && \
    rm -rf /var/lib/apt/lists/*


RUN docker-php-ext-install bz2
@BoBBer446 BoBBer446 added the bug Something isn't working label Jan 22, 2024
@github-actions github-actions bot added this to Backlog in Recognize Jan 22, 2024
Copy link

Hello 👋

Thank you for taking the time to open this issue with recognize. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue
Cheers 💙

@Ling128
Copy link

Ling128 commented Apr 19, 2024

same issue

@marcelklehr
Copy link
Member

Can you post the exact error log entries, please?

Copy link

Hello 👋
This issue is waiting for a response by the original poster for 2 weeks. We cannot keep track of whether individual issues
have resolved themselves or still require attention without user interaction. We're thus adding the stale label to this issue to schedule
it for getting closed in 5 days time. If you believe this issue is still valid and should be fixed, you can add a comment
or remove the label to avoid it getting closed.

Cheers 💙

@github-actions github-actions bot added the stale label May 25, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Recognize automation moved this from Backlog to Done May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants