Getting "index of" page instead of NEMS web UI

Having issues? Post them here, and help other users.
Post Reply
deefourteen
Junior Member
Posts: 4
Joined: Wed Oct 18, 2017 9:14 pm

Getting "index of" page instead of NEMS web UI

Post by deefourteen »

Seems to happen during the update from 1.2.1 to 1.2.2 not sure since it immediately goes to the update to 1.2.3.

I am running 2 systems made from the same .ISO file and it only happened on one of the 2.

I reinstalled and it has the same issue every time.....no idea what is causing it.  :huh:
Attachments
NEMS index of issue.png
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: Getting "index of" page instead of NEMS web UI

Post by Robbie Ferguson »

Hmm, that's very odd.

It's easy to fix, but I'd very much like to see your NEMS Server if I may so I can determine if this is something specific to you, or if it is a bug with the upgrade script that I need to address.

Please let me know if an SSH connection is possible. If not, I'll just give you some code to fix it.

I've not had this happen on any of my NEMS servers, so seeing your Pi may help me understand how it happened.

Thanks!
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
deefourteen
Junior Member
Posts: 4
Joined: Wed Oct 18, 2017 9:14 pm

RE: Getting "index of" page instead of NEMS web UI

Post by deefourteen »

Unfortunately, I cannot give you remote access right now but I would highly appreciate the code snippets to fix it.

Thank you.
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: Getting "index of" page instead of NEMS web UI

Post by Robbie Ferguson »

First, what do you see when you type:

Code: Select all

nems-info diskusage
I'm wondering if your card is too small for NEMS ... so that'd tell us.

If the number is less than 50%, it's not that.

If it's not that, this should fix the symptom, but not the cause:

Code: Select all

sudo mv /var/www/html /var/www/html.old~ && cd /var/www && sudo git clone https://github.com/Cat5TV/nems-www && sudo mv nems-www html && sudo chown -R www-data:www-data html && sudo nems-update
I really would like to know why this is happening to this one Pi.
Let me know.
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
deefourteen
Junior Member
Posts: 4
Joined: Wed Oct 18, 2017 9:14 pm

RE: Getting "index of" page instead of NEMS web UI

Post by deefourteen »

I tried:
Code:

Code: Select all

nems-info diskusage
It returned 13. makes sense since I am using 32GB cards so I am sure I have plenty of room.

The setup is the exact same as the other NEMS server I have that is working. Raspberry Pi 3, Sandisk 32GB micro SD class 10, even burnt from the same ISO file on the same day on the same windows PC.

As for the results of:
Code:

Code: Select all

sudo mv /var/www/html /var/www/html.old~ && cd /var/www && sudo git clone https://github.com/Cat5TV/nems-www && sudo mv nems-www html && sudo chown -R www-data:www-data html && sudo nems-update
I copied and pasted this so there is no errors then waited and rebooted.

Now I still get the index of page but it only shows the backup directory...
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: Getting "index of" page instead of NEMS web UI

Post by Robbie Ferguson »

Could you kindly repeat the steps again but paste the full output for me?

Sounding like a bad SD card TBH.

- PS - there's no need to reboot (note my inclusion of sudo nems-update at the end... this takes care of everything the reboot would do.)
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
deefourteen
Junior Member
Posts: 4
Joined: Wed Oct 18, 2017 9:14 pm

RE: Getting "index of" page instead of NEMS web UI

Post by deefourteen »

Problem resolved after Robbie reinstalled nems-www.

Thanks again.
Post Reply