Comments (4)
Running the command that is failing by hand with more verbose output isn't giving me any clues:
[root@testing-chefserver001 ~]# /opt/chef-server/embedded/bin/knife download -VV -c /tmp/knife-config.rb /
ERROR: File chef/cookbooks/var/chef is a directory while file chef/cookbooks/var/chef is a regular file
Also tried running an arbitrary knife command using the /tmp/knife-config.rb
config file, but it says it can't connect on localhost:
[root@testing-chefserver001 ~]# /opt/chef-server/embedded/bin/knife role list -c /tmp/knife-config.rb
ERROR: Connection refused connecting to localhost:443 for /roles, retry 1/5
ERROR: Connection refused connecting to localhost:443 for /roles, retry 2/5
ERROR: Connection refused connecting to localhost:443 for /roles, retry 3/5
ERROR: Connection refused connecting to localhost:443 for /roles, retry 4/5
ERROR: Connection refused connecting to localhost:443 for /roles, retry 5/5
And now chef-server-ctl start
and chef-server-ctl status
won't return any info - did the upgrade process leave it unusable?
[root@testing-chefserver001 ~]# /opt/opscode/bin/chef-server-ctl start
[root@testing-chefserver001 ~]#
[root@testing-chefserver001 ~]# /opt/opscode/bin/chef-server-ctl status
[root@testing-chefserver001 ~]#
from chef-server.
@skymob You have some information that is wrong in what you've provided, as there is no open source Chef server version 11.6.0. Is this a typo and you meant 11.0.6? The last released open source Chef 11 server was 11.1.5 https://www.getchef.com/download-open-source-chef-server-11/
Assuming it is a typo, I can tell you that as of right now the upgrade process doesn't work on open source Chef servers pre-11.1. If you want to migrate a pre-11.1 server to 12, then you'll need to upgrade to at least 11.1 first, or do the migration the old fashion way by hand using knife download and then uploading the data to the Chef 12 server (once the data is downloaded I believe the transform and upload steps that are packaged with the Chef 12 server will work).
The issue with pre-11.1 servers as to do with the embedded client that is packaged with the chef server being old and not having an up-to-date knife download with it. We hope to eventually fix this so that any 11 server can be upgrade using just the upgrade command, but we haven't yet gotten to this.
from chef-server.
@mmzyk apologies for posting the wrong package version: we are in fact using a pre-11.1 version (chef-server-11.0.8-1.el6.x86_64
) and will need to explore either the 11.0.8 to 11.1 to 12 route, or the "by hand" to a fresh install option.
from chef-server.
@skymob No worries. I'll note it is possible to update a pre 11.1 server straight to 12, but it generally involves me pairing with you to get it done (which I've done with a few users to understand the issues), but my time is more limited now as work on finalizing the Chef 12 server release.
As far as upgrading to 11.1, 11.1 was the version where we first introduced the chef-server-ctl upgrade command for the open source server. You can see the directions on using it here: http://docs.getchef.com/open_source/upgrade_server_open_source.html#upgrade-from-chef-server-osc-11-0-4-or-higher which might make the upgrade easier for you.
All of this said, please continue to open issues as you find them. It helps us make the server and the experience of using it better. Thanks!
from chef-server.
Related Issues (20)
- Installing chef-manage via chef-server-ctl is not working HOT 1
- chef-server-ctl user-create with prompt for password is broken HOT 1
- Upgrade to rails 7 and ruby 3+ in oc-id HOT 2
- OCID: profile email update is throwing error
- New nodes aren't indexed but are known to Chef-Server (Version 14) HOT 7
- Update the version of Chef server in Automate HOT 1
- Unable to upload/delete cookbook with Chef Admin account
- Chef Automate 2022-01 failing chef-server-ctl test HOT 1
- Chef Client Range Search Unexpected Results HOT 4
- API Endpoints to update client certs not accessible PUT HOT 1
- Cookbook parsing fails on restore knife ec backup/restore. HOT 1
- embedded knife commands show warnings HOT 1
- Incorrect metadata in a cookbook causes all client runs on nodes in that org to fail, irrespective of them using the cookbook in question. HOT 1
- Update External Opensearch documentation with the user permissions required for Chef to work correctly with Opensearch. HOT 1
- chef-server-ctl test in failing in FIPS enabled Amazon Linux 2 system. HOT 1
- Chef server install fails at "add internal user to opensearch security plugin" on local proxmox host but not AWS HOT 2
- Unable to `chef-server-ctl reconfigure` a new 15.3.2 install on Ubuntu 22.04 HOT 8
- Cookbook with invalid dependencies causes ALL Chef client runs to begin failing (even on nodes that do not use the cookbook in question) HOT 4
- New OpenSSL requirements in RHEL 9 in fips mode [RHSA-2023:3722-01], cannot connect to Chef Server anymore with no EMS support
- Chef search results are limited to 10,000 records when using external OpenSearch 1.3.x regardless of max_result_window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-server.