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

Upgrading from GATEWAY V1.21 to V1.22 docker image gives an error when starting #243

Closed
toxicehc opened this issue Nov 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@toxicehc
Copy link

When updating the docker image from Version 1.21 to Version 1.22 I am receiving the following error in the gateway docker instance:

Gateway API server stopped unexpectedly. Restarting...
/home/gateway/dist/src/services/config-manager-v2.js:123
throw new Error(${this.id} config file seems to be outdated/broken due to additional property "${err.params.additionalProperty}". Kindly fix manually.);
^

Error: plenty config file seems to be outdated/broken due to additional property "ctezAdmin". Kindly fix manually.
at ConfigurationNamespace.loadConfig (/home/gateway/dist/src/services/config-manager-v2.js:123:31)
at new ConfigurationNamespace (/home/gateway/dist/src/services/config-manager-v2.js:98:14)
at ConfigManagerV2.addNamespace (/home/gateway/dist/src/services/config-manager-v2.js:227:78)
at ConfigManagerV2.loadConfigRoot (/home/gateway/dist/src/services/config-manager-v2.js:296:18)
at new ConfigManagerV2 (/home/gateway/dist/src/services/config-manager-v2.js:193:14)
at ConfigManagerV2.getInstance (/home/gateway/dist/src/services/config-manager-v2.js:186:41)
at getLogPath (/home/gateway/dist/src/services/logger.js:43:55)
at Object. (/home/gateway/dist/src/services/logger.js:49:18)
at Module._compile (node:internal/modules/cjs/loader:1149:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1203:10)

How to fix this?

@toxicehc toxicehc added the bug Something isn't working label Nov 29, 2023
@toxicehc
Copy link
Author

As per rapcmia:
The error was due to update on tezos/plenty. I assume you are using docker so you would need to backup your important files and delete your old gateway folder then run again docker compose again so it will copy the new version.

Confirmed it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant