{"id":1024,"date":"2022-05-11T09:01:57","date_gmt":"2022-05-11T16:01:57","guid":{"rendered":"https:\/\/ismellsmoke.net\/?p=1024"},"modified":"2022-05-11T09:04:44","modified_gmt":"2022-05-11T16:04:44","slug":"skyweather2-version-27-6-issue","status":"publish","type":"post","link":"https:\/\/ismellsmoke.net\/?p=1024","title":{"rendered":"SkyWeather2 Version 27.6 Issue"},"content":{"rendered":"<p>On May 7, 2022, SwitchDocLabs released <a href=\"https:\/\/forum.switchdoc.com\/thread\/1452\/skyweather2-software-releases\" target=\"_blank\" rel=\"noopener\">Version 27.6<\/a> of their SkyWeather2 software suite. A few days later, I was notified by a user that my SkyWeather2 install script failed.<\/p>\n<pre>pi@skyweather2:~\/SDL_Pi_Skyweather2 $ sudo mysql -u root -p &lt;\u00a0 WeatherSenseWireless.sql\r\nEnter password:\r\nERROR 1046 (3D000) at line 5: No database selected<\/pre>\n<p>This error was not caused by my script.\u00a0 It is caused by an error in the SkyWeather2 SQL scripts.<\/p>\n<p>A couple of years ago, I bought a SkyWeather2 system but did not purchase the software SDCard. I was not willing to pay an additional $35 on top of the cost of the system. I soon discovered downloading the SkyWeather2 software on Github and running the main Python script does not work.<\/p>\n<p><!--more-->After a couple of days of figuring out, by trial-and-error, all of the required dependencies, I had my system up and running. To save others the pain I went through, I created a bash script that installs the complete system requirements including detailed <a href=\"https:\/\/ismellsmoke.net\/?p=993\" target=\"_blank\" rel=\"noopener\">documentation<\/a>.<\/p>\n<p>The latest SkyWeather2 software contains some updates to the SQL database schemas. The problem is, the .sql scripts provided in the release assume you already have a working system installed from their SDCard.<\/p>\n<p>In other words, the SkyWeather2 .sql scripts (4 of them) do not create the databases. They only update\/expand existing databases.<\/p>\n<p>I posted a <a href=\"https:\/\/forum.switchdoc.com\/post\/14336\" target=\"_blank\" rel=\"noopener\">comment<\/a> on their support blog with details of the issue. Until and unless they release a .sql script that creates all of the databases from scratch, there is no way to install their system without purchasing the SDCard they sell.<\/p>\n<p>I am sorry to report this situation, but there is not much I can do to keep my installation script project alive and working. SwitchDocLabs makes money on the SDCard, so there is not a lot motivating them to support this project.<\/p>\n<p><em>Sopwith<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On May 7, 2022, SwitchDocLabs released Version 27.6 of their SkyWeather2 software suite. A few days later, I was notified by a user that my SkyWeather2 install script failed. pi@skyweather2:~\/SDL_Pi_Skyweather2 $ sudo mysql -u root -p &lt;\u00a0 WeatherSenseWireless.sql Enter password: &hellip; <a href=\"https:\/\/ismellsmoke.net\/?p=1024\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6,3],"tags":[19],"class_list":["post-1024","post","type-post","status-publish","format-standard","hentry","category-code","category-how-to","category-raspberry-pi","tag-skyweather2"],"_links":{"self":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/1024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1024"}],"version-history":[{"count":2,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/1024\/revisions"}],"predecessor-version":[{"id":1026,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/1024\/revisions\/1026"}],"wp:attachment":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}