nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
455 stars 57 forks source link

Config Location of previewgenerator (and other apps) #270

Closed Leviathan09 closed 2 years ago

Leviathan09 commented 2 years ago

I dont' know where to ask and couldn't find anything with google yet

I wonder where the app settings are stored. for example: When i enter the command -> ./occ config:app:set --value="32 64 1024" previewgenerator squareSizes in which file/location is this setting saved? Is there a special config file? Because it's not in the config.php of my nextcloud and also not in the SizeHelper.php of the app

But in the SizeHelper.php there are some lines: $getCustomSizes = function (IConfig $config, $key) { $TXT = $config->getAppValue('previewgenerator', $key, ''); $values = []; if ($TXT !== '')

So i think there must be a config file or so where all the information is stored

Maybe someone can help me with this Thanks

st3iny commented 2 years ago

App config is saved in your database. Have a look at the oc_appconfig table. In there you can find the configuration values of all your apps.

Leviathan09 commented 2 years ago

App config is saved in your database. Have a look at the oc_appconfig table. In there you can find the configuration values of all your apps.

Thank you @st3iny