Jump to content

NodeLink reboot wiped config.xml


larryllix

Recommended Posts

Posted

What setting do I use with the new levels you have installed?

 

There were no logs created while NodeLink was down. Maybe I went the wrong way on the setting?

Some days have no logs created.

Posted

OMG. The ecobee website went down within one minute of turning on my debug settings! Lost both stat comms as soon as I turned on the debug settings!

Posted

Well I finally figured out how to install Mono version: 5.4.1.7 (tarball Wed Jan 17 22:33:48 UTC 2018)

It takes a complete install and compile to upgrade it from 5.2.?.

apt-get update + upgrade just doesn't do it.

 

 

You might try "apt-get update; apt-get dist-upgrade".  This should upgrade you to current.

dist-upgrade
           dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the
           most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired
           package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.
Posted

 

You might try "apt-get update; apt-get dist-upgrade".  This should upgrade you to current.

dist-upgrade
           dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the
           most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired
           package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.

Thanks. I should have read more closely when you posted how to get the O/S version. After some research I ended up doing the same thing and then saw your O/S version scraper  post later. :(

The update / upgrade process seemed to load lots of mono updates but it would never change the reported version

 

My feeling now, is  somehow I had a version of mono installed for a different O/S. I discovered a lot of that while watching the massive update overwrite files.

 

We will see if it ever happens again. Hopefully not, and then I can just write this off to an install of mono not compatible with my O/S.

 

Fingers crossed again. :)

Posted

I'm not going to upgrade mono just yet, but there is a mono upgrade available as of today for my RPi.  This is what the upgrade, using "apt-get dist-upgrade" would look like.  I don't know if the removal of "mono-complete" and the addition of "referenceassemblies-pcl" will cause issues with Nodelink. 

pi@raspberrypi:~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libjs-xmlextras libmono-2.0-1 libmono-2.0-dev libmono-cairo4.0-cil libmono-cecil-private-cil libmono-cil-dev libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-cscompmgd0.0-cil libmono-csharp4.0c-cil
  libmono-custommarshalers4.0-cil libmono-db2-1.0-cil libmono-debugger-soft4.0a-cil libmono-http4.0-cil libmono-management4.0-cil libmono-messaging-rabbitmq4.0-cil libmono-messaging4.0-cil libmono-microsoft-build-engine4.0-cil
  libmono-microsoft-build-framework4.0-cil libmono-microsoft-build-tasks-v4.0-4.0-cil libmono-microsoft-build-utilities-v4.0-4.0-cil libmono-microsoft-build4.0-cil libmono-microsoft-csharp4.0-cil libmono-microsoft-visualc10.0-cil
  libmono-microsoft-web-infrastructure1.0-cil libmono-oracle4.0-cil libmono-parallel4.0-cil libmono-peapi4.0a-cil libmono-profiler libmono-rabbitmq4.0-cil libmono-relaxng4.0-cil libmono-sharpzip4.84-cil libmono-simd4.0-cil
  libmono-smdiagnostics0.0-cil libmono-system-componentmodel-composition4.0-cil libmono-system-configuration-install4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-data-entity4.0-cil libmono-system-data-linq4.0-cil
  libmono-system-data-services-client4.0-cil libmono-system-data-services4.0-cil libmono-system-deployment4.0-cil libmono-system-dynamic4.0-cil libmono-system-identitymodel-selectors4.0-cil libmono-system-identitymodel4.0-cil
  libmono-system-io-compression-filesystem4.0-cil libmono-system-io-compression4.0-cil libmono-system-json-microsoft4.0-cil libmono-system-json4.0-cil libmono-system-ldap-protocols4.0-cil libmono-system-management4.0-cil
  libmono-system-messaging4.0-cil libmono-system-net-http-formatting4.0-cil libmono-system-net-http-webrequest4.0-cil libmono-system-net-http4.0-cil libmono-system-net4.0-cil libmono-system-numerics-vectors4.0-cil
  libmono-system-reactive-core2.2-cil libmono-system-reactive-debugger2.2-cil libmono-system-reactive-experimental2.2-cil libmono-system-reactive-interfaces2.2-cil libmono-system-reactive-linq2.2-cil
  libmono-system-reactive-observable-aliases0.0-cil libmono-system-reactive-platformservices2.2-cil libmono-system-reactive-providers2.2-cil libmono-system-reactive-runtime-remoting2.2-cil libmono-system-reactive-windows-forms2.2-cil
  libmono-system-reactive-windows-threading2.2-cil libmono-system-reflection-context4.0-cil libmono-system-runtime-caching4.0-cil libmono-system-runtime-durableinstancing4.0-cil libmono-system-runtime-serialization4.0-cil
  libmono-system-runtime4.0-cil libmono-system-servicemodel-activation4.0-cil libmono-system-servicemodel-discovery4.0-cil libmono-system-servicemodel-internals0.0-cil libmono-system-servicemodel-routing4.0-cil
  libmono-system-servicemodel-web4.0-cil libmono-system-servicemodel4.0a-cil libmono-system-serviceprocess4.0-cil libmono-system-threading-tasks-dataflow4.0-cil libmono-system-web-abstractions4.0-cil libmono-system-web-dynamicdata4.0-cil
  libmono-system-web-extensions-design4.0-cil libmono-system-web-extensions4.0-cil libmono-system-web-http-selfhost4.0-cil libmono-system-web-http-webhost4.0-cil libmono-system-web-http4.0-cil libmono-system-web-mobile4.0-cil
  libmono-system-web-mvc3.0-cil libmono-system-web-razor2.0-cil libmono-system-web-regularexpressions4.0-cil libmono-system-web-routing4.0-cil libmono-system-web-webpages-deployment2.0-cil libmono-system-web-webpages-razor2.0-cil
  libmono-system-web-webpages2.0-cil libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-windows4.0-cil libmono-system-workflow-activities4.0-cil libmono-system-workflow-componentmodel4.0-cil
  libmono-system-workflow-runtime4.0-cil libmono-system-xaml4.0-cil libmono-system-xml-linq4.0-cil libmono-system-xml-serialization4.0-cil libmono-tasklets4.0-cil libmono-webmatrix-data4.0-cil libmono-windowsbase4.0-cil libmono-xbuild-tasks4.0-cil
  libmonoboehm-2.0-1 libmonosgen-2.0-1 libmonosgen-2.0-dev libnunit-cil-dev libnunit-console-runner2.6.3-cil libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil libnunit-util2.6.3-cil
  mono-4.0-service mono-csharp-shell mono-devel mono-jay mono-mcs mono-roslyn mono-utils mono-xbuild mono-xsp4 mono-xsp4-base monodoc-base monodoc-http monodoc-manual msbuild-libhostfxr msbuild-sdkresolver referenceassemblies-pcl
Use 'apt-get autoremove' to remove them.
Done
The following packages will be REMOVED:
  mono-complete
The following NEW packages will be installed:
  referenceassemblies-pcl
The following packages will be upgraded:
  ca-certificates-mono libmono-2.0-1 libmono-2.0-dev libmono-accessibility4.0-cil libmono-cairo4.0-cil libmono-cecil-private-cil libmono-cil-dev libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-corlib4.5-cil
  libmono-cscompmgd0.0-cil libmono-csharp4.0c-cil libmono-custommarshalers4.0-cil libmono-data-tds4.0-cil libmono-db2-1.0-cil libmono-debugger-soft4.0a-cil libmono-http4.0-cil libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil
  libmono-i18n-other4.0-cil libmono-i18n-rare4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-all libmono-i18n4.0-cil libmono-ldap4.0-cil libmono-management4.0-cil libmono-messaging-rabbitmq4.0-cil libmono-messaging4.0-cil
  libmono-microsoft-build-engine4.0-cil libmono-microsoft-build-framework4.0-cil libmono-microsoft-build-tasks-v4.0-4.0-cil libmono-microsoft-build-utilities-v4.0-4.0-cil libmono-microsoft-build4.0-cil libmono-microsoft-csharp4.0-cil
  libmono-microsoft-visualc10.0-cil libmono-microsoft-web-infrastructure1.0-cil libmono-oracle4.0-cil libmono-parallel4.0-cil libmono-peapi4.0a-cil libmono-posix4.0-cil libmono-profiler libmono-rabbitmq4.0-cil libmono-relaxng4.0-cil
  libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-simd4.0-cil libmono-smdiagnostics0.0-cil libmono-sqlite4.0-cil libmono-system-componentmodel-composition4.0-cil libmono-system-componentmodel-dataannotations4.0-cil
  libmono-system-configuration-install4.0-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-data-entity4.0-cil libmono-system-data-linq4.0-cil
  libmono-system-data-services-client4.0-cil libmono-system-data-services4.0-cil libmono-system-data4.0-cil libmono-system-deployment4.0-cil libmono-system-design4.0-cil libmono-system-drawing-design4.0-cil libmono-system-drawing4.0-cil
  libmono-system-dynamic4.0-cil libmono-system-enterpriseservices4.0-cil libmono-system-identitymodel-selectors4.0-cil libmono-system-identitymodel4.0-cil libmono-system-io-compression-filesystem4.0-cil libmono-system-io-compression4.0-cil
  libmono-system-json-microsoft4.0-cil libmono-system-json4.0-cil libmono-system-ldap-protocols4.0-cil libmono-system-ldap4.0-cil libmono-system-management4.0-cil libmono-system-messaging4.0-cil libmono-system-net-http-formatting4.0-cil
  libmono-system-net-http-webrequest4.0-cil libmono-system-net-http4.0-cil libmono-system-net4.0-cil libmono-system-numerics-vectors4.0-cil libmono-system-numerics4.0-cil libmono-system-reactive-core2.2-cil libmono-system-reactive-debugger2.2-cil
  libmono-system-reactive-experimental2.2-cil libmono-system-reactive-interfaces2.2-cil libmono-system-reactive-linq2.2-cil libmono-system-reactive-observable-aliases0.0-cil libmono-system-reactive-platformservices2.2-cil
  libmono-system-reactive-providers2.2-cil libmono-system-reactive-runtime-remoting2.2-cil libmono-system-reactive-windows-forms2.2-cil libmono-system-reactive-windows-threading2.2-cil libmono-system-reflection-context4.0-cil
  libmono-system-runtime-caching4.0-cil libmono-system-runtime-durableinstancing4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-runtime4.0-cil
  libmono-system-security4.0-cil libmono-system-servicemodel-activation4.0-cil libmono-system-servicemodel-discovery4.0-cil libmono-system-servicemodel-internals0.0-cil libmono-system-servicemodel-routing4.0-cil
  libmono-system-servicemodel-web4.0-cil libmono-system-servicemodel4.0a-cil libmono-system-serviceprocess4.0-cil libmono-system-threading-tasks-dataflow4.0-cil libmono-system-transactions4.0-cil libmono-system-web-abstractions4.0-cil
  libmono-system-web-applicationservices4.0-cil libmono-system-web-dynamicdata4.0-cil libmono-system-web-extensions-design4.0-cil libmono-system-web-extensions4.0-cil libmono-system-web-http-selfhost4.0-cil libmono-system-web-http-webhost4.0-cil
  libmono-system-web-http4.0-cil libmono-system-web-mobile4.0-cil libmono-system-web-mvc3.0-cil libmono-system-web-razor2.0-cil libmono-system-web-regularexpressions4.0-cil libmono-system-web-routing4.0-cil libmono-system-web-services4.0-cil
  libmono-system-web-webpages-deployment2.0-cil libmono-system-web-webpages-razor2.0-cil libmono-system-web-webpages2.0-cil libmono-system-web4.0-cil libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-windows-forms4.0-cil
  libmono-system-windows4.0-cil libmono-system-workflow-activities4.0-cil libmono-system-workflow-componentmodel4.0-cil libmono-system-workflow-runtime4.0-cil libmono-system-xaml4.0-cil libmono-system-xml-linq4.0-cil
  libmono-system-xml-serialization4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-tasklets4.0-cil libmono-webbrowser4.0-cil libmono-webmatrix-data4.0-cil libmono-windowsbase4.0-cil libmono-xbuild-tasks4.0-cil libmonoboehm-2.0-1
  libmonosgen-2.0-1 libmonosgen-2.0-dev mono-4.0-gac mono-4.0-service mono-csharp-shell mono-devel mono-gac mono-jay mono-mcs mono-roslyn mono-runtime mono-runtime-common mono-runtime-sgen mono-utils mono-xbuild monodoc-base monodoc-manual
160 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 65.4 MB of archives.
After this operation, 29.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

Posted

I am running 9.1 on my development RPi3 and 8.0 on my ISY pal RPi3.

 

Mono won't install on mt RPi1 B+ anymore. I had to discard it for NodeLink.

 

 

See they released a new RPi zero with WiFi and BT? Upgraded it to 1.0 GHz and 512MB.

Posted

I am running 9.1 on my development RPi3 and 8.0 on my ISY pal RPi3.

 

Mono won't install on mt RPi1 B+ anymore. I had to discard it for NodeLink.

 

 

See they released a new RPi zero with WiFi and BT? Upgraded it to 1.0 GHz and 512MB.

 

Larry

 

FWIW My B+ runs Debian 3.2.8+dfsg-4+rpi1, the same version as my 2B.

 

The B+ is my dev / DR box

 

Pau

Posted

Just a side note - when you upgrade Jessie->Stretch - make sure to update mono repository to point to Stretch one

 

$ cat /etc/apt/sources.list.d/mono-official.list
deb https://download.mono-project.com/repo/debian raspbianstretch main
Posted

 

Just a side note - when you upgrade Jessie->Stretch - make sure to update mono repository to point to Stretch one

$ cat /etc/apt/sources.list.d/mono-official.list
deb https://download.mono-project.com/repo/debian raspbianstretch main

There is one of the biggest problems with RPi.

 

No such "file or directory" and using 9.1 (/etc/apt/sources.list.d/mono-official.list)

"bash: deb: command not found".

 

Thanks

Posted

xKing is just showing you the contents of that file (the second line) by using 'cat'. The second line is not a command, but is just what the file contains (or should contain).

 

Incidentally, I just upgraded to stretch from jessie and have no specific mono-rekated lines or files. I installed Nodelink a couple of years ago, so maybe I'm just using an old version of mono installed in the past. Thanks for the pointer.

Posted

Can you do

 ls -la /etc/apt/sources.list.d/ 

?

 

Not sure why you do 'deb' in command line, it's never been a command. My quote shows the content of a file, not a command you should run.

Posted

This line below:

deb https://download.mono-project.com/repo/debian raspbianstretch main

is simply the printed contents of the file

/etc/apt/sources.list.d/mono-official.list

"deb" simply describes a type of archive for apt-get.  It's not a command.

Posted

Can you do

 ls -la /etc/apt/sources.list.d/ 

?

 

Not sure why you do 'deb' in command line, it's never been a command. My quote shows the content of a file, not a command you should run.

Sorry. I missed the bash prompt there.

After attempting several 

  • sudo apt-get dist-upgrades

with no success except to go through almost an hour of upgrading packages,and resulting  debian 8.0 (I was already running) again,  the next update/upgrade updated my mono to v5.8.0.108 but over raspbian 8.0. 

 

Now this works and give me...

I can't figure out why Stretch doesn't like this RPi3. Upgraded just fine in my play RPi3.

 

Thanks!!

Posted

It looks like your file:

/etc/apt/sources.list.d/mono-official.list

is still pointing to the release: jessie

 

You can edit that file in two ways to get it to point to release: stretch.

 

Here's a simple way:

sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/mono-official.list

Or using a manual editor, just replace "jessie" with "stretch" where you find it:

sudo nano /etc/apt/sources.list.d/mono-official.list

make a backup of the file, first:

sudo cp /etc/apt/sources.list.d/mono-official.list /etc/apt/sources.list.d/mono-official.list.bak
Posted

 

It looks like your file:

/etc/apt/sources.list.d/mono-official.list

is still pointing to the release: jessie

 

You can edit that file in two ways to get it to point to release: stretch.

 

Here's a simple way:

sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/mono-official.list

Or using a manual editor, just replace "jessie" with "stretch" where you find it:

sudo nano /etc/apt/sources.list.d/mono-official.list

make a backup of the file, first:

sudo cp /etc/apt/sources.list.d/mono-official.list /etc/apt/sources.list.d/mono-official.list.bak

Thanks! But with some clarifications.

1. Do you think my system is not upgrading that file so just the file definition is wrong?

...Or

2. Do you think this is a permission for my system to upgrade to "stretch"?

 

If 1. then mono has installed another incompatible version as may have been the case before.

If 2. then mono  should be installed matching the O/S  but this will allow me to upgrade to stretch and the correct/matching version of mono.

This is based on the mono website offering different installs based on different O/S versions jessie/stretch

Posted

Thanks! But with some clarifications.

1. Do you think my system is not upgrading that file so just the file definition is wrong?

...Or

2. Do you think this is a permission for my system to upgrade to "stretch"?

 

If 1. then mono has installed another incompatible version as may have been the case before.

If 2. then mono  should be installed matching the O/S  but this will allow me to upgrade to stretch and the correct/matching version of mono.

This is based on the mono website offering different installs based on different O/S versions jessie/stretch

 

I think 1. is the correct answer.  And yes, I'll bet you'll get to go through another upgrade process if you change the file.

 

You might want to inspect your /etc/apt/sources.list file to see if it's pointing to stretch as well.

pi@raspberrypi:~ $ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi

 

Posted

Don't forget about this guy too:

 

$ cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
Posted

 

I think 1. is the correct answer.  And yes, I'll bet you'll get to go through another upgrade process if you change the file.

 

You might want to inspect your /etc/apt/sources.list file to see if it's pointing to stretch as well.

pi@raspberrypi:~ $ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi

 

Thanks. Right on! Yes my system is going through the Stretch upgrade now.  I wonder who is supposed to maintain these files and didn't?

 

Don't forget about this guy too:

$ cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui

Ouch! Didn't get that one but I am sure I would be able to do this after and update / upgrade again after. The O/S is very forgiving in some respects.

 

 

I probably should have found  a new SD image and started over. :)

 

After all this I will have to check my mono installation matches somehow. I should be able to run the mono website install for stretch then.

 

Nothing like a sunny day outside watching lines scroll by. Makes me want to bash something! :)

Posted

Thanks. Right on! Yes my system is going through the Stretch upgrade now.  I wonder who is supposed to maintain these files and didn't?

 

I'm generally amazed that systems this complex work at all, much less work after an upgrade.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...