pelican-eggs / eggs

Service eggs for the pterodactyl panel
MIT License
2.85k stars 2.32k forks source link

[Bug]: gitea #2200

Closed MvBonin closed 1 year ago

MvBonin commented 1 year ago

Panel Version

1.11.2

Wings Version

1.11.5

Service

gitea

Modified

No, I did not modify the egg

Expected Behavior

I go to my account settings in gitea and add a ssh key. Ssh key gets added to my account.

Actual Behavior

When I try to add the key, I get the following error message:

Cannot verify your SSH key: SSHKeyGenParsePublicKey: fail to parse public key: exec(641c36d9-2:SSHKeyGenParsePublicKey) failed: exit status 255() stdout: stderr: No user exists for uid 999 - No user exists for uid 999

Steps To Reproduce

  1. Click on your profile in gitea and then on settings.
  2. Click on SSH / GPG Keys
  3. Under Manage SSH Keys, click on add Key.
  4. Add an email and a key
  5. The error message appears, key doesn't get added

Install logs

-

QuintenQVD0 commented 1 year ago

this is not related to the egg. It is because the container user does not actually exist in the container. You can mount a file over /etc/passwd with the container user and the UID of 999 and then it will be fixt

MvBonin commented 1 year ago

And how exactly do I do this? And could we add it to the egg somehow, so that it gets done with installation?

QuintenQVD0 commented 1 year ago

And how exactly do I do this? And could we add it to the egg somehow, so that it gets done with installation?

this is not done with the egg, this is done with mounts on the panel. If you can not then just don't use ssh keys for now

MvBonin commented 1 year ago

Ok thanks, that solved the issue for now.

QuintenQVD0 commented 1 year ago

I will close this as this is not egg releated but how pterodactyl containers work