Hello There, Guest!  
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Getting "index of" page instead of NEMS web UI

#1
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


Attached Files Thumbnail(s)
   
 Reply
#2
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:
 Reply
#3
Unfortunately, I cannot give you remote access right now but I would highly appreciate the code snippets to fix it.

Thank you.
 Reply
#4
First, what do you see when you type:

Code:
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:
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:
 Reply
#5
I tried:
Code:
Code:
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:
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...
 Reply
#6
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:
 Reply
#7
Problem resolved after Robbie reinstalled nems-www.

Thanks again.
 Reply
 
 
Forum Jump:

Users browsing this thread: 1 Guest(s)