schema-publisher issueshttps://source.dodis.ch/histhub/schema-publisher/-/issues2019-10-03T11:04:38Zhttps://source.dodis.ch/histhub/schema-publisher/-/issues/4Needs to run privileged2019-10-03T11:04:38ZZiviNeeds to run privilegedThis container tries to create a directory `./log` and to write to it which fails when running the container in unprivileged context:
```
Error: EACCES: permission denied, mkdir './log'
at Object.mkdirSync (fs.js:757:3)
at Logge...This container tries to create a directory `./log` and to write to it which fails when running the container in unprivileged context:
```
Error: EACCES: permission denied, mkdir './log'
at Object.mkdirSync (fs.js:757:3)
at Logger.setup (/usr/local/app/node_modules/geolinker-common/src/logger.ts:35:10)
at new Logger (/usr/local/app/node_modules/geolinker-common/src/logger.ts:12:10)
at new Core (/usr/local/app/node_modules/geolinker-common/src/core.ts:76:28)
at Function.init (/usr/local/app/node_modules/geolinker-common/src/core.ts:28:12)
at Object.<anonymous> (/usr/local/app/src/send-schema.ts:9:19)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
```TobinskTobinskhttps://source.dodis.ch/histhub/schema-publisher/-/issues/3Generall problem2018-11-22T08:25:05ZTobinskGenerall problemThe design to have one instance to publish the schemas is very poor. At the beginning I dodn't have much other possibilities, but we should ensure that in the future each microservice controls his own schemaThe design to have one instance to publish the schemas is very poor. At the beginning I dodn't have much other possibilities, but we should ensure that in the future each microservice controls his own schemaTobinskTobinsk