#Can I change a setting from terminal?
1 messages · Page 1 of 1 (latest)
:wave: Hey @fathom lodge,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich
.
References
- Container Logs:
docker compose logsdocs - Container Status:
docker compose psdocs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
- :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
- :ballot_box_with_check: I have read applicable release notes.
- :ballot_box_with_check: I have reviewed the FAQs for known issues.
- :ballot_box_with_check: I have reviewed Github for known issues.
- :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
- :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the
/uploadcommand. - :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
If this ticket can be closed you can use the /close command, and re-open it later if needed.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
You can configure it to use a config file and then use that to change settings.
But, with an already running system it's not possible?
You can still use a config file. Just set the respective env, add the file and restart
But can I download my existing configuration?
Oh you have made some configuration changes?
Then the easiest solution is probably to just change it in the DB
You can use the system config section there and then send the output here
Thanks.
I am not really an expert (or even a beginner) in Databse management - I know I need to amend that library watch.usepolling to false but not sure how.
SELECT "key", "value" FROM "system_config";
key | value
-------------------------------------+---------------
ffmpeg.transcode | "disabled"
job.objectTagging.concurrency | 4
job.clipEncoding.concurrency | 4
job.sidecar.concurrency | 4
job.migration.concurrency | 4
job.library.concurrency | 80
job.thumbnailGeneration.concurrency | 20
job.metadataExtraction.concurrency | 50
job.recognizeFaces.concurrency | 6
storageTemplate.enabled | true
ffmpeg.accel | "qsv"
library.scan.cronExpression | "0 */6 * * *"
job.smartSearch.concurrency | 60
job.faceDetection.concurrency | 60
library.watch.enabled | true
library.watch.usePolling | true
I tried this:
UPDATE "system_config" SET "library.watch.usePolling" = "false";
I get this error: Perhaps you meant to reference the column "system_config.value".
I also tried: SET "system_config.value" = "false" WHERE "system_config.key" = "library.watch.usePolling";
I have posted this to stackexchange as well - as I think it must be extremely simple. and I just don't know how to amend a value in a postgres table:
https://stackoverflow.com/questions/78095770/amend-the-value-of-a-row-in-a-postgres-database
This actually looks good already! You don't particularly need to set the column to false, you simply DELETE the row
So basically you want to first alter the select query by adding a WHERE "system_config.key" = 'library.watch.usePolling' and that should hopefully only return that single line