Code Monkey home page Code Monkey logo

Comments (7)

Heavybullets8 avatar Heavybullets8 commented on July 23, 2024

What version of Truenas SCALE are you using?

from heavy_script.

sfatula avatar sfatula commented on July 23, 2024

Version:
TrueNAS-SCALE-22.12.3.3

from heavy_script.

Heavybullets8 avatar Heavybullets8 commented on July 23, 2024

Is the application stopped during the prune?

What update flags/Config options did you change?

from heavy_script.

sfatula avatar sfatula commented on July 23, 2024

No, the app is not stopped during prune, my comments were merely an example I manually did to test it (had just been noticing every restart, which is not often, prowlarr would never start due to missing the image). The flags/options are the same as on the other apps if you are speaking of "Launch Docker Image" options. These would be:

DNS: Internal DNS first
Port Forwarding: container 9696 to node port 19696, TCP
A hostpath for /config
Enabled webui portal for http 19696.

from heavy_script.

Heavybullets8 avatar Heavybullets8 commented on July 23, 2024

When you run the prune via heavyscript, all it's really doing under the hood is calling ix's prune function with this command:

cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}'

You can take a peek at the simple prune function in the heavyscript code here.

To get to the bottom of this, I'd suggest running the command directly, without heavyscript, to see if the issue still persists:

cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}'

or, since remove_stopped_containers will be gone in the next TrueNAS SCALE update, try:

cli -c 'app container config prune prune_options={"remove_unused_images": true}'

If the problem is still there, it'd be best to let the ix team know about it. Just head to:
Truenas SCALE GUI > System Settings > General > File Ticket

You can copy-paste what you've shared here for your issue report with them. If you want, you can mention you stumbled upon this while using heavyscript, or just stick to the direct command test.

from heavy_script.

sfatula avatar sfatula commented on July 23, 2024

So, I did the CLI command without remove_stopped and prowalrr image goes away. I filed a ticket. Thanks!

from heavy_script.

Heavybullets8 avatar Heavybullets8 commented on July 23, 2024

Perfect! I'll close this. Reach out if you need anything else. Thank you, and have a good day.

from heavy_script.

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.