hercules-ci / support

User feedback, questions and our public roadmap. help@hercules-ci.com
5 stars 1 forks source link

unknown account model when moving to org #54

Closed nrdxp closed 3 years ago

nrdxp commented 3 years ago

I moved my project from my personal repo nrdxp/nixlfk to an organization divnix.com/devos, and got the error:

Unknown account model #... hash ommitted

from the dashboard

It doesn't seem to want to build the project, asking me to add a nix file, when in fact there is already one.

roberth commented 3 years ago

I will look into it today.

roberth commented 3 years ago

It seems like the move + fork combination confused the integration logic. I've fixed up the data manually and I have found a way to improve the logic. You can now enable CI for your repo https://hercules-ci.com/github/divnix/devos and give it a try by pushing a ref or new commit.

nrdxp commented 3 years ago

Thank you, but unfortunately it's still not detecting the new repo

roberth commented 3 years ago

I see. According to the backend logs, github says "This installation has been suspended". You can probably unsuspend it here https://github.com/organizations/hercules-ci/settings/installations/14798673

nrdxp commented 3 years ago

Stange, it is definitely not suspended. I tried suspending it to see if that might help, but that was for less than a minute: image

nrdxp commented 3 years ago

The issue seems to be with the entire divnix organization, as I added a test repo to see if hercules would build it, and it's giving the same error, namely reporting that I need to add a nix file when one already exists.

roberth commented 3 years ago

Did you add the other divnix repo in the github installation ui? The github api indicates you're using a selection.

nrdxp commented 3 years ago

I've reset everything to as liberal as possible:

image

also ensuring:

image is on for the relevant repos.

context

nrdxp/devos won't build either, so I used nrdxp/devshell as a baseline and it works, but the same repo divnix/devshell fails.

Also, I didn't seem to mention up above, but yesterday I got the same "unknown account model" error even after your fixes.

roberth commented 3 years ago

I've corrected a mistake I made while correcting the integration data. Jobs are appearing in the devos repo now. Those should start evaluating when you bring your divnix agent back online.

roberth commented 3 years ago

Another correction is necessary to unblock evaluations. Might take a minute.

roberth commented 3 years ago

Please ping me when you've restarted the agent.

nrdxp commented 3 years ago

@roberth agent is up now.

roberth commented 3 years ago

Thanks! I'm troubleshooting the issue.

nrdxp commented 3 years ago

Just heard my fans spin up, and sure enough evaluation just picked up for some missed jobs. Thaks for all the hard work!

roberth commented 3 years ago

Just wanted to tell you :)