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 development environments #5740

Closed
yenienserrano opened this issue Jul 27, 2023 · 0 comments · Fixed by #5741, #5744 or #5743
Closed

Upgrading development environments #5740

yenienserrano opened this issue Jul 27, 2023 · 0 comments · Fixed by #5741, #5744 or #5743
Assignees
Labels

Comments

@yenienserrano
Copy link
Member

yenienserrano commented Jul 27, 2023

Description

Development environments need to be upgraded to support the latest versions of Wazuh-dashboard.

Since version 2.8.0 when we create the image it is giving this error when we start the project

fatal: detected dubious ownership in repository at '/home/node/kbn'
To add an exception for this directory, call:

        git config --global --add safe.directory /home/node/kbn
    at makeError (/home/node/kbn/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/node/kbn/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at getChanges (/home/node/kbn/packages/osd-optimizer/src/optimizer/get_changes.ts:41:22)
    at async Promise.all (index 0)
    at getOptimizerCacheKey (/home/node/kbn/packages/osd-optimizer/src/optimizer/cache_keys.ts:168:44)
    at /home/node/kbn/packages/osd-optimizer/src/run_optimizer.ts:70:17
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

by changing the permissions of the kbn folder to node:node, this error no longer appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment