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

problems running nems commands

#11
Okay. Will take a look now. Yes, it is a very odd issue. Can't wait to get to the bottom of it for you (and my own curiosity - lol!)

Will check now.
Robbie Ferguson, Host
Category5 Technology TV
www.Category5.TV
254-5-CAT5TV
 Reply
#12
Hey - I guess I should clarify in the installation / setup instructions that you should upgrade to the latest version first and foremost, because as it turns out, you'd simply been jumping right to the "how to's" before having upgraded to the version they applied to...

For example:
Upgrading from NEMS 1.2.2 to NEMS 1.2.3
Creating symbolic links...
Added nems-benchmark command.
Added nems-mailtest command.

I've connect to your Pi and upgraded you to NEMS 1.2.3 with nems-upgrade. Everything went flawlessly, and now you can run all the current NEMS commands  Smile

I added a patch to assist other users in future.

Let me know if you have any further trouble, but now you are running the latest version of NEMS (1.2.3) and all looks like it is working exactly as it should.

Here's a benchmark of your NEMS Server:
Quote:NEMS System Benchmark
Sun 17 Sep 14:02:15 MST 2017
NEMS Version: 1.2.3Raspberry Pi Board Revision: Usage: ./info.sh command
Available commands: ip nemsver nemsveravail users diskusage memusage country piver
Raspberry Pi Board NEMS ID: Usage: ./info.sh command
Available commands: ip nemsver nemsveravail users diskusage memusage country piver
LAN IP: 192.168.0.216
---------------------------------
SD Card READ:
/dev/mmcblk0p2:
 Timing buffered disk reads:  82 MB in  3.04 seconds =  27.01 MB/sec
SD Card WRITE:
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 1.10644 s, 94.8 MB/s
---------------------------------
Memory WRITE:
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.395563 s, 265 MB/s
---------------------------------
Filesystem:
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  3.5G   11G  25% /
devtmpfs        481M     0  481M   0% /dev
tmpfs           486M     0  486M   0% /dev/shm
tmpfs           486M   13M  473M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           486M     0  486M   0% /sys/fs/cgroup
tmpfs           486M     0  486M   0% /var/www/nconf/temp
tmpfs           486M  4.0K  486M   1% /tmp
tmpfs           486M  3.5M  482M   1% /var/lib/monitorix/www/imgs
tmpfs           486M     0  486M   0% /var/tmp
/dev/mmcblk0p1   60M   22M   39M  37% /boot
tmpfs            98M     0   98M   0% /run/user/1000
---------------------------------
Memory:
              total        used        free      shared  buff/cache   available
Mem:           970M        159M        182M         23M        628M        723M
Swap:            0B          0B          0B
---------------------------------
Internet Speed:
Ping: 44.649 ms
Download: 71.96 Mbit/s
Upload: 10.93 Mbit/s
---------------------------------
Benchmark of this benchmark: 41 seconds

All looks great.

If you have means and feel like I've been of help, please consider throwing something in the tip jar  Smile Thanks!
Robbie Ferguson, Host
Category5 Technology TV
www.Category5.TV
254-5-CAT5TV
 Reply
#13
thank you for your time.

yeah that's really odd because as i mentioned earlier i tried to do the

sudo nems-upgrade

but it gave me that command error. then i tried the other commands that i could find and got the same thing.

is there a 1.2.3 image avail for download or is it still 1.2.1 and then upgrade?

i'd like to actually try it again (maybe on another sd card) just for making sure it's squashed. because i flashed this card a few times and still had the same issue.
 Reply
#14
No, there's no IMG to install directly to a rolling upgrade. You need to deploy NEMS 1.2.1, get the fixes patch (usually happens automatically or via reboot) and then run sudo nems-upgrade

It seems to me your NEMS Server wasn't able to get the fixes patch for some reason, which is why you didn't have the nems-upgrade command.

Hint
 - if nems-upgrade is still not working for whatever reason, you can FORCE a fixes patch by running the following command directly on NEMS 1.2.1: sudo /home/pi/nems-scripts/update.sh

Note for other readers, the command on NEMS 1.2.2+ is sudo nems-update

Remember that nems-update runs automatically - so normally you should not need to do this.

Try it again from square one, and let me know how it goes. Just make sure NEMS always has an Internet connection (Ethernet greatly preferred) as that is how it gets the updates and fixes.

NEMS 1.3 is coming in November, so we have a lot to look forward to with the next build!

Let me know if you have any trouble this time around. I'm here to help.

Robbie
Robbie Ferguson, Host
Category5 Technology TV
www.Category5.TV
254-5-CAT5TV
 Reply
 
Forum Jump:

Users browsing this thread: 1 Guest(s)