diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.52k stars 274 forks source link

diyHue on OpenWrt, cannot initialize service hueemulatorWrt-service #878

Open BLADR-ONE opened 1 year ago

BLADR-ONE commented 1 year ago

Describe the bug DiyHue is installed using github script but the script gave error just in opening the hueemulatorWrt-service

Steps to Reproduce Just install DiyHue using github script

Expected behavior Script starts

Logs Failed to execute "/etc/init.d/hueemulatorWrt-service enable" action: Command failed when I tried to start it from gui

Docker Info (please complete the following information): -openWrt -tp link TL-WR1043ND v3

Checklist

Additional context

Edit 1 : Appearently chmod commands related to the hueemulatorWrt-service weren't working from the script so i ran them manually and now the service is enable and working but I have encountered another problem: when i try to acces the router's IP it gives me a blank screen with only one line that writes: LuCI - Lua Configuration Interface and then starts a download of a file, instead of showing me the diyhue interface. I have done the move of LuCI from port 80 to 82 and it works perfectly by accesing port 82. I attached some ss below.

Screenshot (74) Screenshot (75) Screenshot (76)

FerrumMaster commented 1 year ago

I've pushed a changed my WRT install script but it went nowhere, I missed what happened.

Delete nohup from the service file, also put correct permissions. You are free to look at my install script I have used on few devices already.

DIYHUEWRT.txt

BLADR-ONE commented 1 year ago

I've pushed a changed my WRT install script but it went nowhere, I missed what happened.

Delete nohup from the service file, also put correct permissions. You are free to look at my install script I have used on few devices already.

DIYHUEWRT.txt

Thank you very much, can you drop an eye maybe on the edit that I've made?

FerrumMaster commented 1 year ago

Thank you very much, can you drop an eye maybe on the edit that I've made?

You have to delete browser caches often when using openWRT and changing stuff.

You have to change not only the 80 port but the secure 443 also. It is mandatory. Just try exec my script step by step.

Nohup needs to be gone, correct permission setting, you were right, the code in original update script does not work on WRT. Double check after with ls -l.

BLADR-ONE commented 1 month ago

Scrapped that project, but maybe i'll find it in the drawer and try that. Thanks (sorry for the big delay but i have been really absent in the last year, being the final year of my highschool, and needing to take a big test. )