Jump to content

Recommended Posts

Posted

Sorry I should have used sudo
[admin@polisy ~]$ sudo pkg info
Password:
bash-5.0.11                    GNU Project's Bourne Again SHell
boost-libs-1.71.0_2            Free portable C++ libraries (without Boost.Python)
c-ares-1.15.0_1                Asynchronous DNS resolver library
ca_root_nss-3.47.1             Root certificate bundle from the Mozilla Project
curl-7.67.0                    Command line tool and library for transferring data with URLs
cvsps-2.1_2                    Create patchset information from CVS
dmidecode-3.2                  Tool for dumping DMI (SMBIOS) contents in human-readable format
dual-dhclient-1.0_1            Spawns dhclients for a dual-stack network
e2fsprogs-libuuid-1.45.3       UUID library from e2fsprogs package
expat-2.2.8                    XML 1.0 parser written in C
flashrom-1.1                   Utility for reading, writing, verifying, and erasing flash ROM chips
gettext-runtime-0.20.1         GNU gettext runtime libraries and programs
git-2.24.0                     Distributed source code management tool
gmake-4.2.1_3                  GNU version of 'make' utility
icu-65.1,1                     International Components for Unicode (from IBM)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
isc-dhcp44-client-4.4.1_1      The ISC Dynamic Host Configuration Protocol client
libconfuse-3.2.1_1             Configuration file parsing library
libffi-3.2.1_3                 Foreign Function Interface
libftdi1-1.4_13                Library (using libusb) to talk to FTDI chips
libnghttp2-1.40.0              HTTP/2.0 C Library
libpci-3.6.2                   PCI configuration space I/O made easy
libuv-1.33.1                   Multi-platform support library with a focus on asynchronous I/O
libwebsockets-2.4.2            C library for lightweight websocket clients and servers
mongodb34-3.4.23               Distributed document-oriented "NoSQL" database
mosquitto-1.6.7                Open source MQTT broker
nlohmann-json-3.7.0            JSON library for Modern C++
node-13.2.0                    V8 JavaScript for client and server
npm-6.12.1                     Node package manager
p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
p5-CGI-4.44                    Handle Common Gateway Interface requests and responses
p5-Digest-HMAC-1.03_1          Perl5 interface to HMAC Message-Digest Algorithms
p5-Error-0.17028               Error/exception handling in object-oriented programming style
p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 library
p5-HTML-Parser-3.72            Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20_1          Some useful data table in parsing HTML
p5-IO-Socket-INET6-2.72_1      Perl module with object interface to AF_INET6 domain sockets
p5-IO-Socket-SSL-2.066         Perl5 interface to SSL sockets
p5-Mozilla-CA-20180117         Perl extension for Mozilla CA cert bundle in PEM format
p5-Net-SSLeay-1.85             Perl5 interface to SSL
p5-Socket6-0.29                IPv6 related part of the C socket.h defines and structure manipulators
pciids-20191012                Database of all known IDs used in PCI devices
pcre-8.43_2                    Perl Compatible Regular Expressions library
perl5-5.30.1                   Practical Extraction and Report Language
pkg-1.12.0                     Package manager
polyglot-beta-2.2.6_1          Polyglot v2 Beta for UDI ISY 5.x.x
powerdxx-0.4.3                 CPU clock speed/frequency daemon
py37-acme-0.39.0,1             ACME protocol implementation in Python
py37-asn1crypto-0.24.0         ASN.1 library with a focus on performance and a pythonic API
py37-certbot-0.39.0,1          Let's Encrypt client
py37-certifi-2019.9.11         Mozilla SSL certificates
py37-cffi-1.13.2               Foreign Function Interface for Python calling C code
py37-chardet-3.0.4_1           Universal encoding detector for Python 2 and 3
py37-configargparse-0.15.1     Drop-in replacement for argparse
py37-configobj-5.0.6_1         Simple but powerful config file reader and writer
py37-cryptography-2.6.1        Cryptographic recipes and primitives for Python developers
py37-distro-1.4.0_1            Linux OS platform information API
py37-idna-2.8                  Internationalized Domain Names in Applications (IDNA)
py37-josepy-1.2.0              JOSE protocol implementation in Python
py37-netifaces-0.10.9          Getting network addresses from Python 3
py37-openssl-19.0.0            Python interface to the OpenSSL library
py37-parsedatetime-2.5         Python module for parsing 'human readable' date/time expressions
py37-pip-19.1.1                Tool for installing and managing Python packages
py37-pycparser-2.19            C parser in Python
py37-pyrfc3339-1.1             Generate and parse RFC 3339 timestamps
py37-pysocks-1.7.1             Python SOCKS module
py37-pytz-2019.3,1             World Timezone Definitions for Python
py37-requests-2.22.0           HTTP library written in Python for human beings
py37-requests-toolbelt-0.8.0_1 Utility belt for advanced users of python-requests
py37-setuptools-41.4.0         Python packages installer
py37-six-1.12.0                Python 2 and 3 compatibility utilities
py37-urllib3-1.22,1            HTTP library with thread-safe connection pooling, file post, and more
py37-zope.component-4.2.2      Zope Component Architecture
py37-zope.event-4.1.0          Very basic event publishing system
py37-zope.interface-4.6.0      Interfaces for Python
python-3.7_3,2                 "meta-port" for the default version of Python interpreter
python27-2.7.17                Interpreted object-oriented programming language
python3-3_3                    The "meta-port" for version 3 of the Python interpreter
python37-3.7.5                 Interpreted object-oriented programming language
readline-8.0.0                 Library for editing command lines as they are typed
snappy-1.1.7                   Fast compressor/decompressor library
sudo-1.8.29                    Allow others to run commands as root
[admin@polisy ~]$
 

Posted

Here's the diff of the pkg lists.  You have newer versions of some things than I do and you have some packages that I don't.

[admin@polisy ~]$ diff simplex.pkg gary.pkg
4,5c4,5
< ca_root_nss-3.47
< curl-7.66.0
---
> ca_root_nss-3.47.1
> curl-7.67.0
21c21
< libnghttp2-1.39.2
---
> libnghttp2-1.40.0
28c28
< node-13.0.0
---
> node-13.2.0
44c44
< perl5-5.30.0
---
> perl5-5.30.1
46c46
< polyglot-2.2.6
---
> polyglot-beta-2.2.6_1
47a48
> py37-acme-0.39.0,1
48a50,51
> py37-certbot-0.39.0,1
> py37-certifi-2019.9.11
49a53,55
> py37-chardet-3.0.4_1
> py37-configargparse-0.15.1
> py37-configobj-5.0.6_1
50a57,59
> py37-distro-1.4.0_1
> py37-idna-2.8
> py37-josepy-1.2.0
51a61,62
> py37-openssl-19.0.0
> py37-parsedatetime-2.5
53a65,69
> py37-pyrfc3339-1.1
> py37-pysocks-1.7.1
> py37-pytz-2019.3,1
> py37-requests-2.22.0
> py37-requests-toolbelt-0.8.0_1
55a72,76
> py37-urllib3-1.22,1
> py37-zope.component-4.2.2
> py37-zope.event-4.1.0
> py37-zope.interface-4.6.0
> python-3.7_3,2
60c81
< snappy-1.1.6_1
---
> snappy-1.1.7

I'll have to check for updates and see what happens....

Posted

That would make sense. After the third update Tesla just stopped running and could not be started. That's when the error started when trying to re-install.

Posted
12 minutes ago, garybixler said:

That would make sense. After the third update Tesla just stopped running and could not be started. That's when the error started when trying to re-install.

There's some package dependency that's most likely broken somewhere.  Unfortunately it will take the involvement of the Nodeserver author to help track down what it could be.  My initial direction would be to run Tesla on Polyglot Cloud because it's cloud dependent anyways.  However that's up to you.

Posted
32 minutes ago, garybixler said:

Thank you so much for all your effort. It seems that the problem is getting narrowed down. Also I learned a lot.

Again Thanks

Gary

Welcome.  Sorry I couldn't get it resolved though.  I'm not seeing updates on my polisy to get to your version.  I'll check again after I reboot and see if I get anything.  If I do I'll update and try the Tesla nodeserver again... wish I had a Tesla...I LIKE the new truck they released it's sweet!

Posted

I'm getting an odd error when I run 'sudo pkg update'

[admin@polisy ~]$ sudo pkg update
Password:
Updating udi repository catalogue...
Fetching meta.txz: 100%    820 B   0.8kB/s    00:01
Fetching packagesite.txz: 100%   50 KiB  50.8kB/s    00:01
Processing entries:   0%
Newer FreeBSD version for package p5-HTML-Parser:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1201000
- running kernel: 1200086
Ignore the mismatch and continue? [Y/n]:
Processing entries: 100%
udi repository update completed. 165 packages processed.
All repositories are up to date.

It appears that the package 'p5-HTML-Parser' is expecting a newer kernel than Polisy is running

Posted

Update on Tesla nodeserver

I just did an update on polisy and three packages were updated. I am still getting an error when installing the NS but now it is different.

2019-11-30 06:23:23 [polyglot] error: NSChild: Tesla cloneRepo: Non-zero exit code: 128
2019-11-30 06:23:23 [polyglot] error: NS: Error getting server.json required fields. name and executable are required. - Error: ENOENT: no such file or directory, open '/var/polyglot/nodeservers/Tesla/server.json'
2019-11-30 06:23:23 [polyglot] error: NSResponse: Success: false - cloneRepo: Non-zero exit code: 128
2019-11-30 06:23:

The other difference is that Tesla is no longer installed into the node server directory.

Thanks Gary

Posted

Hello all and thanks so very much for all the feedback and sincere apologies for the inconvenience. We do have an updated Kernel and we had to compile all packages against the new kernel. We should have a script to upgrade your kernel shortly. 

Again, sincere apologies.

With kind regards,
Michel

Posted

I just tried to clone a new node server I'm working on to the Polisy and got this error:

sudo: unable to write to /var/run/sudo/ts/admin: No space left on device
fatal: could not create work tree dir 'udi-weatherbit-poly': No space left on device

A df of /var/polyglot shows

[admin@polisy /var/polyglot/nodeservers]$ df .
Filesystem        1K-blocks    Used Avail Capacity  Mounted on
zudi/ROOT/default   5298048 5294859  3188   100%    /

Yes, the polyglot log file was huge and clearing it freed up about 45% of the space on the file system. 

Posted (edited)

Michel

Excellent news. The Tesla NS installed and came up running. All looks great.

Thank you so much for all your effort.

Gary

Edited by garybixler
  • Like 1
  • 3 weeks later...
Posted

There's a new Polyglot version available this morning (2.2.8) which provides some interesting new items under the "System" menu.  I don't know if these items are hooked to anything yet.

 

Screen Shot 2019-12-19 at 7.06.13 AM.png

Posted (edited)

This is exactly what I did:

sudo pkg update && sudo pkg upgrade  (restart Polisy with sudo shutdown -r +1) first. Then install udx (and then another restart Polisy with sudo shutdown -r +1)

 

 

After ~5 minutes, still waiting with this displayed:  

Please wait, getting configuration...

 

Edited by gviliunas
Posted (edited)

I do not heat any beeps.

Do I need to issue a command to start udx?

I used Top and can't see a separate task for udx.

I tailed -f the Polyglot log and nothing happens when I select Polisy Configuration form the Settings menu.

top.PNG

Edited by gviliunas
Posted

Looking at the udx log in '/var/udx/logs' I'm seeing this error:

[admin@polisy /var/udx/logs]$ sudo tail -f debug.log 
ld-elf.so.1: Shared object "libbson-1.0.so.1" not found, required by "udx-freebsd-x64"
ld-elf.so.1: Shared object "libbson-1.0.so.1" not found, required by "udx-freebsd-x64"
ld-elf.so.1: Shared object "libbson-1.0.so.1" not found, required by "udx-freebsd-x64"
ld-elf.so.1: Shared object "libbson-1.0.so.1" not found, required by "udx-freebsd-x64"

 

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.3k
×
×
  • Create New...