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

puppetserver error: cannot load such file -- puppetserver/ca/cli (LoadError) #9452

Closed
banafshehft opened this issue Aug 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@banafshehft
Copy link

Describe the Bug

i can not run any puppetserver command becasue of this :

sudo puppetserver ca list --all
[sudo] password for bani: 
<internal:/usr/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require': cannot load such file -- puppetserver/ca/cli (LoadError)
        from <internal:/usr/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
        from /opt/puppetlabs/server/apps/puppetserver/cli/apps/ca:3:in `<main>'

Expected Behavior

i can run puppetserver

Environment

  • puppet server Version: 8.6.0-1
    -puppet version: 7.32.1-3
  • Platform : archlinux : 6.10.5.arch1-1

Additional Context

if you need any more info please let me know

@banafshehft banafshehft added the bug Something isn't working label Aug 19, 2024
@bastelfreak
Copy link
Contributor

bastelfreak commented Aug 20, 2024

your problem is that you're mixing puppet agent 7 and puppetserver 8. Both need to have the same major version.

A bit of context: I wasn't able to update the Arch Linux package to 8 because that requires ruby 3.2. Ruby 3.2 was added to the extra repo just a week ago.

@banafshehft
Copy link
Author

banafshehft commented Aug 20, 2024

actually i could fix it by rebuilding the package . it seems now its using new ruby. i will close the ticket since the original issue resolved

Thanks!

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

No branches or pull requests

2 participants