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

fix: rearranging and adding information #239

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aviv926
Copy link

@aviv926 aviv926 commented Dec 22, 2024

When I tried to set the DownloadImages option to True it threw errors until I set a folder for DownloadImages ~ ImageCacheFolder.

In addition, I changed the order of the configuration files so that the options related to Cache will be in the appropriate order.

@aviv926
Copy link
Author

aviv926 commented Dec 22, 2024

question:

  1. Does this ImageCacheFolder only work when there is no access to load images from the server?

@3rob3
Copy link
Collaborator

3rob3 commented Dec 23, 2024

I personally think we should remove the settings.json. This was a carryover from the older apps. I prefer using ENV for config since it can easily be changed (and commented out) in Portainer and applied in just a few clicks. What do you think Jan @JW-CH ?

@3rob3
Copy link
Collaborator

3rob3 commented Jan 6, 2025

This looks good to me. You good with it @JW-CH ?

To make it work you will need to uncomment `# - PATH/TO/ImageCacheFolder:/app/ImageCache` in your installation file.

> [!NOTE]
> If you enable the DownloadImages option to True without setting volumes for ImageCacheFolder it will cause an error!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to clarify for me, this does not cause an error if you don't set it in your volumes, right? This only throws an error if you uncomment it and do not change the value to a valid folder?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I tried to set the DownloadImages option to True it threw errors until I set a folder for DownloadImages ~ ImageCacheFolder.

This should not be the case. Do you have an error message? This is most likely a bug. The "ImageCache"-folder should be created in the application. I like the volume you made :)

@JW-CH JW-CH added the documentation Improvements or additions to documentation label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants