-
Notifications
You must be signed in to change notification settings - Fork 4
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
No IP Shown // Can't Log In #1
Comments
Login.php is disabled on the default install! If you go to sender.php that's how you can control the screen |
Sorry, just noticed your edit. The setup script is designed to be piped into bash so just running it may have caused issues. What error was being thrown up when you piped it? |
I've tried a new install, removed all the files associated with this from the home/pi/ dir. From there I'm running the command you suggested from the readme:
I'm getting this: After this, if I do "ls" I can see the led-matrix-controller directory, it looks like the files are in there, if I run the setup.sh like this, I could be doing everything wrong, this is my first project with a pi. :/ |
I see the issue now actually, there's a syntax error in the installer, I'll fix it shortly and update here when ready to go. The installer does a lot of things and is only intended to be run once so just to be safe I'd recommend going with a fresh sd card before trying it again when fixed; code is fully tested and functional with jessie, haven't tried it on stretch yet but I'd imagine it'll work. |
That should be fixed and working now, the error with the webpage now loading should be fixed too! Just run the command again and leave her run. The IP showing initially I need to fix too, but that'll come soon. curl -sSL https://raw.githubusercontent.com/xer0design/led-matrix-controller/master/setup.sh | bash Running it as root might be a good idea, too, so type "sudo su" and return before piping. |
Ah ok :) I didn't see Raspbian Jessie Lite. I'll give this a try now and let you know what happens! |
Okay you're still seeing a cached version of that script so, as I've removed the y/n option. I'd say give it another few minutes for the cache in your location to update. You'll know you have the correct version when it doesn't ask to update. Check the actual file in a browser and the code should jump straight from cd led-matrix-controller to #install apache2 https://raw.githubusercontent.com/xer0design/led-matrix-controller/master/setup.sh |
Hmm, it's strange. It's updated when I look at it in the browser but it's still doing the same thing on the pi. I'll give it a bit longer and report back. Thanks for the quick help! |
I'd suggest flashing a fresh image while you wait for that |
Yeah I did, I'll do another ;) |
I think that may have done it :) |
Yeah running that should fix it, being a brand new install it probably has no apt cache so that'd explain not being able to find anything. A simple 'apt update' should also suffice. I'll add that into the installer now too. |
Yeah, that question was entirely removed so it's still loading a cached copy somehow. The fact it's stating that it's making required programs without the directory there means git probably isn't installed either? I'll add that in too. 2 minutes I'll make a quick easy fix to get you by for now |
Try that. |
Oh gosh I feel stupid :/ So apparently Git wasn't installed...I just installed it and now it's able to clone the repo like it should be. I'm sorry. I'm a failure. I'll just jump off a cliff lol |
We all start somewhere, not to worry. |
Ok, so if I go into the led-matrix-controller directory and run the It got to the [y/n] choice and waited instead of aborting immediately. |
Err, try one last time there, this one should do it. Use the curl from my server. |
Ok it went all the way through this time. Restarting now. This is something strange that I noticed happening. I see this output stating "php5 has no installation candidate". Have you seen that? I looked it up and it says that's because "ubuntu comes with php7 installed" or something like that. So, before I was seeing the apache webpage when I would browse to the IP, now I'm seeing that the site can't be reached because the IP refused to connect. lol Ok just a minute I'm installing some php stuff now. Alright, I ran |
The web interface is now up. I rebooted it and it's up :) Trying to do anything on the web page like update the text or anything throws an error "sorry there was an error uploading your file". |
Raspbian is based on Debian but it's not related to Ubuntu, it's weird to see an Ubuntu related error. If it's running anyway then no big deal. |
So just for good measure I downloaded the hzeller original to run some of the examples and make sure it wasn't my hardware. The examples run normally from the hzeller rpi-rgb-led-matrix/ directory but manually trying to run the demos in the led-matrix-controller/ rpi-rgb-led-matrix/examples-api-use/ directory don't produce any output. So the command I'm running is:
So I'm at a loss :( |
I ran the setup and after the reboot there was no IP shown so I opened a terminal, ran "hostname -I", went to the IP, saw the Apache success page only. I tried appending "/login.php" onto the IP and it showed the PHP file content (understandable :/). I then appended "/index.php" to the IP and it took me to the login page. I typed in "password" for the password but it's just going to the login.php and printing the PHP file contents as if I typed it in the first time.
Ideas?
Edit: Just tried browsing directly to "/sender.php" and it allowed me to get there. It even acted like it was going to work but no matter what I type in for the text or animations it doesn't updated the LED panels, nor does it hold the settings on the page.
Additionally, I should mention that I set this up by manually running "setup.sh" as the automated setup is throwing an error.
The text was updated successfully, but these errors were encountered: