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

git config user and email not set #8

Closed
harleypig opened this issue Apr 1, 2024 · 3 comments
Closed

git config user and email not set #8

harleypig opened this issue Apr 1, 2024 · 3 comments

Comments

@harleypig
Copy link
Contributor

This may or may not be related to running this under docker compose.

$ pdx load bin/* lib/*
🚨 Failed to load context
  β†’ Error committing changes
    β†’ Error committing files to git repository for dir
      β†’ /root/plandex-server/orgs/0368f56f-0794-4a83-8324-0392b07e4338/plans/3b6546fe-6408-4d3b-bfa3-b62df1cb3d3f, err
        β†’ Exit status 128, output
          β†’ Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal
            β†’ Unable to auto-detect email address (got 'root@224f0a0ed4c9.(none)')
@danenania
Copy link
Contributor

Thanks @harleypig. It should be easy enough to add the config commands as part of the server repo initialization. I'll get a fix out soon.

@harleypig
Copy link
Contributor Author

I'm not sure if this needs a new issue or not. I'll add it here and create a new one if you think it needs it.

I noticed the path is not what I expected.

      β†’ /root/plandex-server/orgs/0368f56f-0794-4a83-8324-0392b07e4338/plans/3b6546fe-6408-4d3b-bfa3-b62df1cb3d3f, err

Shouldn't this be /plandex-server not /root/plandex-server? I don't think this is how I'm building the image.

$ docker inspect --format='{{json .Mounts}}' app-plandex-server-1 | jq '.' ; sudo ls -l $HOME/projects/plandex-data/plandex-data
[
  {
    "Type": "bind",
    "Source": "/home/harleypig/projects/plandex-data/plandex-data",
    "Destination": "/plandex-server",
    "Mode": "rw",
    "RW": true,
    "Propagation": "rprivate"
  }
]
[sudo] password for harleypig: 
Executing: sudo ls -l /home/harleypig/projects/plandex-data/plandex-data 
total 0

danenania added a commit that referenced this issue Apr 2, 2024
- Fix for server git repo remaining in locked state after a crash, which caused various issues
- Fix for server git user and email not being set in some environments (#8)
- Fix for 'replacements failed' error that was popping up in some circumstances
- Fix for build issue that could cause large updates to fail, take too long, or use too many tokens in some circumstances
- Clean up extraneous logging
- Prompt update to prevent ouputting files at absolute paths (like '/etc/config.txt')
- Prompt update to prevent sometimes using file block format for explanations, causing explanations to be outputted as files
- Prompt update to prevent stopping before the the plan is really finished
- Increase maximum number of auto-continuations to 50 (from 30)
danenania added a commit that referenced this issue Apr 2, 2024
- Fix for server git repo remaining in locked state after a crash, which caused various issues
- Fix for server git user and email not being set in some environments (#8)
- Fix for 'replacements failed' error that was popping up in some circumstances
- Fix for build issue that could cause large updates to fail, take too long, or use too many tokens in some circumstances
- Clean up extraneous logging
- Prompt update to prevent ouputting files at absolute paths (like '/etc/config.txt')
- Prompt update to prevent sometimes using file block format for explanations, causing explanations to be outputted as files
- Prompt update to prevent stopping before the the plan is really finished
- Increase maximum number of auto-continuations to 50 (from 30)
@danenania
Copy link
Contributor

danenania commented Apr 2, 2024

@harleypig Yeah would you mind creating a separate issue for the /root/plandex-server thing? It should indeed be /plandex-server by default. Not sure where the /root is coming from.

The git user/email issue should be fixed in server/0.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants