-
Notifications
You must be signed in to change notification settings - Fork 24
Installing certificate error on Fedora (34) #380
Comments
@emilbratt that logic is stored here. We default the finding Does your installation have a Either way, we need to improve support for detecting a distribution. |
That is correct. Fedora does not have /etc/lsb_release. Might be able to use this file instead /etc/os-release [bob@fedora]$ cat /etc/os-release NAME=Fedora VERSION="34 (Workstation Edition)" ID=fedora VERSION_ID=34 VERSION_CODENAME="" PLATFORM_ID="platform:f34" PRETTY_NAME="Fedora 34 (Workstation Edition)" ... ...
Yes, I have both files. This is the output: [bob@fedora]$ cat /etc/issue \S Kernel \r on an \m (\l) [bob@fedora]$ cat /etc/fedora-release Fedora release 34 (Thirty Four)
Unfortunately I do not have any experience in the Go language. The complete command: [bob@fedora]$ cat /etc/*-release | grep -w "NAME" | cut -c 6- Fedora Or in BASH script distro=$(cat /etc/*-release | grep -w "NAME" | cut -c 6-) |
I'm also going to add Zorin OS to the list of supported distro's (which is just Ubuntu underneath). |
That is great to hear! |
@emilbratt we just released 2.0.9 with improved support for Fedora, can you give it a try when you are free? |
@jasonmccallister Testing New Version 2.0.9 on Fedora 35After downloading tarball for x86_64 and verifying with sha256sum, i ran:
.. ... Checking network… ✓ network ready Checking proxy… ✓ proxy ready Checking databases… … checking mysql-8.0-3306.database.nitro … downloading mysql:8.0 ✓ … checking postgres-13-5432.database.nitro … downloading postgres:13 ✓ Checking services… … checking dynamodb ✓ … checking mailhog ✓ … checking redis ✓ Checking proxy… … updating proxy ✓ Updating hosts file (you might be prompted for your password) [sudo] passord for bob: Error: exit status 1 ..this time the updating hosts part failed with exit 1 I also tried modifying the hosts with the dedicated command
Adding sites to hosts file… … modifying hosts file ✓ ..which worked as intended I downloaded v. 2.0.8 because host-edit during init worked with previous version
Then running the 2.0.8 executable:
To my surprise the host-edit during nitro init did not work on 2.0.8 either. The trust-partSince the trust part comes after the host-edit part, I manually tested
[bob@fedora35 ~]$ nitro trust … getting Nitro’s root site certificate ✓ Installing certificate (you might be prompted for your password) Nitro certificates are now trusted 🔒 ..and this seemed to be resolved Summary
|
Hi, we are closing this issue as we have decided to retire Nitro, so no additional work will occur on this project. You can read the official blog post here https://craftcms.com/blog/retiring-craft-nitro. We appreciate everyones feedback and involvement and we look forward to refocusing our efforts on Cloud! If you're looking for a new local development environment, we recommend DDEV and have a knowledge base article to help you with the transition: https://craftcms.com/knowledge-base/migrating-from-craft-nitro-to-ddev. |
Description
In the "trust part" of the nitro init command nitro is unable to install its root certificate in Fedora. After running the command "nitro init" everything works as intended all the way up until the part where it is about to install the root site certificate.
Here is my output from the terminal:
Steps to reproduce
Run either of the below commands on Fedora 34
$ nitro init
$ nitro trust
Additional info
The trust command that fails:
https://craftcms.com/docs/nitro/2.x/commands.html#trust
The text was updated successfully, but these errors were encountered: