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

darkice installation fails, chmod cannot access /etc/darkice.cfg #4858

Closed
killtux opened this issue Oct 17, 2021 · 2 comments
Closed

darkice installation fails, chmod cannot access /etc/darkice.cfg #4858

killtux opened this issue Oct 17, 2021 · 2 comments
Milestone

Comments

@killtux
Copy link

killtux commented Oct 17, 2021

Creating a bug report/issue

Required Information

  • DietPi version | v7.7.3
  • Distro version | bullyeye 0
  • Kernel version | uname -a
  • SBC model | RPi4 4GB
  • Power supply used | IQOS 2.1 Amp
  • SDcard used | Intenso 32GB

Additional Information (if applicable)

  • Software title | DarkIce
  • Was the software title installed freshly - brand new dietpi image.
  • Can this issue be replicated on a fresh installation of DietPi? ✔
  • Bug report ID | 7ec01b48-1b8d-425d-8ecb-badfb3cd3c0d

Steps to reproduce

  1. select Icecast + Darkice and hit install.

Expected behaviour

  • Install should went fully through i think ;)

Actual behaviour

  • "chmod: cannot access '/etc/darkice.cfg': no such file or directory"

Extra details

image

@MichaIng MichaIng added this to the v7.8 milestone Oct 17, 2021
MichaIng added a commit that referenced this issue Oct 17, 2021
+ DietPi-Software | IceCast: Resolved an issue where a new install failed due to an attempted operation on a non-existing file. Many thanks to @killtux for reporting this issue: #4858
@MichaIng
Copy link
Owner

Many thanks for your report. A bug our end introduced with DietPi v7.1 and fixed for DietPi v7.8 via: 2394777

I'll add a live patch as well. To apply it in your case:

sed -i '\|chmod 0600 /etc/darkice.cfg|i\\t\t\t[[ -f '\''/etc/darkice.cfg'\'' ]] || > /etc/darkice.cfg' /boot/dietpi/dietpi-software

@killtux
Copy link
Author

killtux commented Oct 17, 2021

wow that was fast. thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants