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

Docker: Failing to create new repositories #260

Closed
d34dscene opened this issue May 4, 2023 · 2 comments · Fixed by #340
Closed

Docker: Failing to create new repositories #260

d34dscene opened this issue May 4, 2023 · 2 comments · Fixed by #340
Labels
bug Something isn't working

Comments

@d34dscene
Copy link

Describe the bug
When using the docker image of the newest version of soft-serve it's impossible to create new repositories, either via the ssh -p 23231 localhost repo create icecream command or locally via git push.
After creating a new repo with ssh -p 23231 localhost repo create icecream and then checking with ssh -p 23231 localhost repo info icecream the command exits with Error: reference does not exist. When pushing a locally created repo it fails with

Enumerating objects: 3, done.
...
remote: env: can't execute 'bash': No such file or directory
To ssh://git.example.com:23231/test
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://git.example.com:23231/test'

Installing soft-serve without docker works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Start a fresh docker container with the latest version of soft-serve
  2. Try to create a new repository
  3. See error

Expected behavior
No error when creating/editing repositories.

Screenshots
error

Environment

  • OS: Linux
  • Version: v0.5.1
@aymanbagabas aymanbagabas added the bug Something isn't working label May 4, 2023
@aymanbagabas
Copy link
Member

Sorry about that @NCRoxas. This is related to #251.

There was an issue publishing our v0.5.1 Docker images from yesterday and it should be fixed now. Could you try pulling the latest image again, verify the version number, and try again?

docker pull charmcli/soft-serve:latest
# Or more specifically
docker pull charmcli/soft-serve:v0.5.1
# You can also use ghcr.io/charmbracelet/soft-serve:latest

@d34dscene
Copy link
Author

Awesome it works now 👍

aymanbagabas added a commit that referenced this issue Jul 18, 2023
Use git plumbing to set the initial default branch name.

Fixes: #147
Fixes: #260
aymanbagabas added a commit that referenced this issue Jul 18, 2023
Use git plumbing to set the initial default branch name.

Fixes: #147
Fixes: #260
aymanbagabas added a commit that referenced this issue Jul 18, 2023
Use git plumbing to set the initial default branch name.

Fixes: #147
Fixes: #260
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

Successfully merging a pull request may close this issue.

2 participants