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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: RedisCacheMgr.set Cannot convert object to primitive value #8259

Closed
1 task done
victorserbu2709 opened this issue Apr 12, 2024 · 4 comments 路 Fixed by #8260
Closed
1 task done

馃悰 Bug: RedisCacheMgr.set Cannot convert object to primitive value #8259

victorserbu2709 opened this issue Apr 12, 2024 · 4 comments 路 Fixed by #8260
Assignees
Labels
馃悰 Type: Bug Something is broken or incorrect unexpectedly.

Comments

@victorserbu2709
Copy link

victorserbu2709 commented Apr 12, 2024

Please confirm if bug report does NOT exist already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

with the release 0.205.1 I start application with NC_SMTP_* environment variables.
but it doesn't start

 [Nest] 6  - 04/12/2024, 9:51:10 AM   ERROR [ExceptionHandler] Cannot convert object to primitive value
 TypeError: Cannot convert object to primitive value
     at RedisCacheMgr.set (/usr/src/app/docker/index.js:2:271859)
     at NocoCache.set (/usr/src/app/docker/index.js:2:279160)
     at Plugin.get (/usr/src/app/docker/index.js:2:1342049)
     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
     at async NcPluginMgrv2.initPluginsFromEnv (/usr/src/app/docker/index.js:2:1008826)
     at async NcPluginMgrv2.init (/usr/src/app/docker/index.js:2:1008220)
     at async InstanceWrapper.useFactory [as metatype] (/usr/src/app/docker/index.js:2:1412768)
     at async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:369:37)
     at async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:65:34)
     at async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:144:24)

Desired Behavior

start

Project Details

release 0.205.1

Attachments

No response

@pranavxc
Copy link
Member

pranavxc commented Apr 12, 2024

@pranavxc pranavxc added the 馃悰 Type: Bug Something is broken or incorrect unexpectedly. label Apr 12, 2024
@pranavxc
Copy link
Member

pranavxc commented Apr 12, 2024

@victorserbu2709 Are you facing this issue on every boot with the latest version of docker image ? And which database are you using?

@iamkarshe
Copy link

I got this issue when I initialized project with npx command + chose A Node.js project.

I got no issue while I used Docker command.

docker run -d --name nocodb -p 9002:8080 nocodb/nocodb:latest

@victorserbu2709
Copy link
Author

Hello @pranavxc, i was creating docker images using build-local-docker-image.sh.
I applied #8260 and it works now. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 Type: Bug Something is broken or incorrect unexpectedly.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants