Git Product home page Git Product logo

Comments (16)

Larrikinau avatar Larrikinau commented on June 27, 2024

I have the same issue

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

Hi, can you post the complete log, please?

How exactly did you execute the script?

Please try using docker exec, as described in the wiki.

docker exec -it seafile-server /scripts/gc.sh

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

I was able to reproduce and fix the issue.

Relevant commit: d085480

I've never noticed it because I run the script through Cron and the script not terminating was never an issue there.

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

Thanks. Do you need to update the docker-compose file to reflect the new seafile version number?

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

Depends on what tag you are using. Some tags are re-used, some are specific. The latest seafile-server image is tagged with latest, 10.0.1 and 10.0.1_002.

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

What was the error message?

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

BTW, the other thing is that I manually edited the gc.sh file as per your update (ie adding the &).

It ran this time but still produced this error message as per above

2023/03/15 12:54:34 socat[12985] W ioctl(5, IOCTL_VM_SOCKETS_GET_LOCAL_CID, ...): Inappropriate ioctl for device

Everything still seemed to work but I don't know why that error message. Out of an abundance of caution, I stopped seafile, and restarted it.

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

You changed the tag of the wrong image. seafile-server has a new version, seafile-media doesn't.

2023/03/15 12:54:34 socat[12985] W ioctl(5, IOCTL_VM_SOCKETS_GET_LOCAL_CID, ...): Inappropriate ioctl for device

You can ignore this message. See https://stackoverflow.com/questions/1605195/inappropriate-ioctl-for-device

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

I'm not departing from the versioning schema. I'm using it since the beginning. The first part (10.0.1) is the Seafile version. The second part (001) is the build number of the specific component. If you want to use the same tag on all components you can just use the tag 10.0.1, which always refers to the latest build under this Seafile version.

Just make sure you actually pull the image version if using tags that are getting re-used.

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

Thank you, it makes my day to hear that.

Try to execute docker-compose pull. This should check if any new versions under the given image tags are available and pull them. Then execute the docker-compose up command again.

from seafile-containerized.

Larrikinau avatar Larrikinau commented on June 27, 2024

from seafile-containerized.

ggogel avatar ggogel commented on June 27, 2024

Great 👍

I run it every Sunday. It shouldn't affect your retention. It will only remove chunks of files that are actually deleted, meaning not being held in deleted files anymore.

from seafile-containerized.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.