{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":333416522,"defaultBranch":"master","name":"raspberry-noaa-v2","ownerLogin":"jekhokie","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-27T12:41:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1587107?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1722517698.0","currentOid":""},"activityList":{"items":[{"before":"df23f11ac72bc0aeb3f5080bc70a04d159c389c5","after":"7ed41d5281013b53c9eb268f020214e03fa1e37d","ref":"refs/heads/beta-development","pushedAt":"2024-09-14T10:44:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"In-Situ Upgrade - Pre-screen existing settings.yml for any new parameters required (#1072)\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Update dependencies/yml - added become: yes for .config ownership\r\n\r\n* Update facebook_push.md - updated doc\r\n\r\nCorrected testing syntax and added a useful link to get page token\r\n\r\n* Resolve [DEPRECATION WARNING] message\r\n\r\nChange include: to include_tasks:\r\n\r\n* Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\r\n\r\nremoved AIM 31304 satellite (decom'd) allowing satdump to download/build its. TLE files in ${HOME}/.config/satdump/satdump_tles.txt\r\n\r\n* Revert \"Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\"\r\n\r\nThis reverts commit 487753e0edb8821f9ff2c11571eda1b1fa11e821.\r\n\r\n* new json for latest satdump version v1.2.1-397f9ed6\r\n\r\n* updated for latest satdump version\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_arm64.deb\r\n\r\n* Create Build_Satdump_v1.2.1-397f9ed6_bookworm_64-bit_amd64.txt\r\n\r\n* amd64 satdump deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_armhf.deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_armhf.deb\r\n\r\n* Update rn2_uninstall.sh\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_amd64.deb\r\n\r\n* Remove old Satdump DEB files\r\n\r\n* Revert \"new json for latest satdump version v1.2.1-397f9ed6\"\r\n\r\nThis reverts commit 2068dc70065bfd0d2c0a8fd95ebe29893df8c954.\r\n\r\n* meging receive_elektro.sh into beta-development and setting ownership/permissions\r\n\r\n* Revert \"meging receive_elektro.sh into beta-development and setting ownership/permissions\"\r\n\r\nThis reverts commit 4ead94f432669b94e923a3f907890377045c0c20.\r\n\r\n* Reverting elektro changes for now from going into beta-support\r\n\r\n* Update permissions.list\r\n\r\n* Update rn2_uninstall.sh\r\n\r\nEnsure config file in /usr/share/satdump/satdump/satdump_cfg.json is removed, so future installs/cloing/in-situ upgrades are sure to generate a file reflective of the template in ansible.\r\n\r\n* Update configs.yml - Added force: yes to satdump_cfg.json\r\n\r\nUpdate configs.yml - Added force: yes to /usr/share/satdump/satdump_cfg.json\r\n\r\n* Update satdump_cfg.json.j2\r\n\r\n* Revert \"Update configs.yml - Added force: yes to satdump_cfg.json\"\r\n\r\nThis reverts commit 387d971a9878a9df38323b9e54b6786ff5385e68.\r\n\r\n* Revert \"Update rn2_uninstall.sh\"\r\n\r\nThis reverts commit 532b1749646cbd22fc1b11aad410f6ed265a7e55.\r\n\r\n* Revert \"Update satdump_cfg.json.j2\"\r\n\r\nThis reverts commit 36ad30e45d5777652e168013ff4354a5af56667d.\r\n\r\n* Update permissions.list\r\n\r\nupdated for validation tool permissions.list for 5 new DEB files\r\n\r\n* Update histogram.sh - Fix so it works on Bookworm\r\n\r\n* Update histogram.sh - Enhanced histogram fix \r\n\r\nEnhanced histogram fix so it will working on RPi's and VM's running Bookworm or Bullseye\r\n\r\n* Pre-screen existing settings.yml for any new parameters required\r\n\r\nPre-screen existing settings.yml for any new parameters required repo being upgraded to prior to wiping out existing RN2 installation. Give the user a chance to add them so they become part of the staged backup and after cloning and restoring will allow install_and_upgrade.sh to execute correctly.\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI ","shortMessageHtmlLink":"In-Situ Upgrade - Pre-screen existing settings.yml for any new parame…"}},{"before":"0e47fd1ce8be52f9d15affb647b37e435975a618","after":"df23f11ac72bc0aeb3f5080bc70a04d159c389c5","ref":"refs/heads/beta-development","pushedAt":"2024-09-12T19:11:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Updating README file (#1071)\n\n* Bumping version\r\n\r\n* 64-bit Bookworm support for Raspberry Pi, SatDump update, bugfixes and many more. (#1070)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n* aarch64/arm64 support and general fixes (#1029)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme \r\n\r\n* Sunsetting legacy Debian 32 bit and Debian 64 bit support\r\n\r\n* aarch64 support (#1031)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme \r\n\r\n* Rebooting the Pi automatically after the first install\r\n\r\n* Fixing filling issue for SatDump Meteor images\r\n\r\n* Fixing filling issue for Meteor when decoding with SatDump\r\n\r\n* Update README.md (#1037)\r\n\r\n* Update core.yml - Simply getting OS Release (#1038)\r\n\r\nUpdate core.yml - Simply getting OS Release \r\n\r\nGoal was to work on as many as Debian Distro's as possible even if they are using local repo's\r\n\r\n* Update README.md (#1043)\r\n\r\n* Update rn2_uninstall.sh (#1045)\r\n\r\nCommenting out systemctl disable service because disable causes it to remain disabled even after the service is removed and reinstalled by Ansible \r\n\t\r\nCommenting out the disable command has no impact since it will be removed when removing packages\r\n\r\n* Update verification.sh (#1046)\r\n\r\nOoops... I had hard coded /home/richard , fixed with ${HOME}\r\n\r\n* Beta development - Setting SDR Device ID, Fixed Receive scripts to pass PPM Offset, Fixed dependancies to work on OS Lite versions (#1049)\r\n\r\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Fix to be tested\r\n\r\n* Fix to be tested for RTL-SDR PPM correction (#1051)\r\n\r\n* Fixing filling issue for SatDump Meteor images\r\n\r\n* Fix to be tested\r\n\r\n* Beta development - modified receive scripts to pass PPM & Offset based on receiver type (#1052)\r\n\r\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI \r\n\r\n* Changing config directory ownership as root\r\n\r\n* Removing whitespaces\r\n\r\n* Ooops...\r\n\r\n* Allow odd timezones in sun.py (#1056)\r\n\r\n* fixes #1021\r\n\r\n* fixes #1055\r\n\r\n* Fix deprecation warning in heatmap.py (#1059)\r\n\r\n* fixes #1021\r\n\r\n* fixes deprecation message for getsize and ANTIALIAS (will be removed in Pillow 10)\r\n\r\n* Beta development - Update dependencies/yml - added become: yes for .config ownership (#1057)\r\n\r\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $H…","shortMessageHtmlLink":"Updating README file (#1071)"}},{"before":"3c7f47b29f2768aaacbfb85e13d4c3d7bae7c438","after":"d9d0c9f77b0c880fa287e38418062a695de51ec1","ref":"refs/heads/master","pushedAt":"2024-09-12T19:10:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Updating supported OS version for the Raspberry Pi","shortMessageHtmlLink":"Updating supported OS version for the Raspberry Pi"}},{"before":"2ecc5604f15fabe879cc60d6ba60dd35b5943587","after":"3c7f47b29f2768aaacbfb85e13d4c3d7bae7c438","ref":"refs/heads/master","pushedAt":"2024-09-12T19:04:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"64-bit Bookworm support for Raspberry Pi, SatDump update, bugfixes and many more. (#1070)\n\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n* aarch64/arm64 support and general fixes (#1029)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme \r\n\r\n* Sunsetting legacy Debian 32 bit and Debian 64 bit support\r\n\r\n* aarch64 support (#1031)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme \r\n\r\n* Rebooting the Pi automatically after the first install\r\n\r\n* Fixing filling issue for SatDump Meteor images\r\n\r\n* Fixing filling issue for Meteor when decoding with SatDump\r\n\r\n* Update README.md (#1037)\r\n\r\n* Update core.yml - Simply getting OS Release (#1038)\r\n\r\nUpdate core.yml - Simply getting OS Release \r\n\r\nGoal was to work on as many as Debian Distro's as possible even if they are using local repo's\r\n\r\n* Update README.md (#1043)\r\n\r\n* Update rn2_uninstall.sh (#1045)\r\n\r\nCommenting out systemctl disable service because disable causes it to remain disabled even after the service is removed and reinstalled by Ansible \r\n\t\r\nCommenting out the disable command has no impact since it will be removed when removing packages\r\n\r\n* Update verification.sh (#1046)\r\n\r\nOoops... I had hard coded /home/richard , fixed with ${HOME}\r\n\r\n* Beta development - Setting SDR Device ID, Fixed Receive scripts to pass PPM Offset, Fixed dependancies to work on OS Lite versions (#1049)\r\n\r\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Fix to be tested\r\n\r\n* Fix to be tested for RTL-SDR PPM correction (#1051)\r\n\r\n* Fixing filling issue for SatDump Meteor images\r\n\r\n* Fix to be tested\r\n\r\n* Beta development - modified receive scripts to pass PPM & Offset based on receiver type (#1052)\r\n\r\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI \r\n\r\n* Changing config directory ownership as root\r\n\r\n* Removing whitespaces\r\n\r\n* Ooops...\r\n\r\n* Allow odd timezones in sun.py (#1056)\r\n\r\n* fixes #1021\r\n\r\n* fixes #1055\r\n\r\n* Fix deprecation warning in heatmap.py (#1059)\r\n\r\n* fixes #1021\r\n\r\n* fixes deprecation message for getsize and ANTIALIAS (will be removed in Pillow 10)\r\n\r\n* Beta development - Update dependencies/yml - added become: yes for .config ownership (#1057)\r\n\r\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/a…","shortMessageHtmlLink":"64-bit Bookworm support for Raspberry Pi, SatDump update, bugfixes an…"}},{"before":"a89fe9d66b66a0b2e235b8a6b5d4725ca579a1e5","after":"0e47fd1ce8be52f9d15affb647b37e435975a618","ref":"refs/heads/beta-development","pushedAt":"2024-09-12T19:03:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Bumping version","shortMessageHtmlLink":"Bumping version"}},{"before":"9c724cd2f518cb68a2083282f5767f6a0e403600","after":"2ecc5604f15fabe879cc60d6ba60dd35b5943587","ref":"refs/heads/master","pushedAt":"2024-09-12T18:58:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Bumping version","shortMessageHtmlLink":"Bumping version"}},{"before":"a9819a8025aba48b1959ab4d8da4f9ad907a481a","after":"a89fe9d66b66a0b2e235b8a6b5d4725ca579a1e5","ref":"refs/heads/beta-development","pushedAt":"2024-09-10T07:29:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Beta development - Fix histograms on Bookworm (#1069), thanks Patrice for reporting the issue!\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Update dependencies/yml - added become: yes for .config ownership\r\n\r\n* Update facebook_push.md - updated doc\r\n\r\nCorrected testing syntax and added a useful link to get page token\r\n\r\n* Resolve [DEPRECATION WARNING] message\r\n\r\nChange include: to include_tasks:\r\n\r\n* Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\r\n\r\nremoved AIM 31304 satellite (decom'd) allowing satdump to download/build its. TLE files in ${HOME}/.config/satdump/satdump_tles.txt\r\n\r\n* Revert \"Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\"\r\n\r\nThis reverts commit 487753e0edb8821f9ff2c11571eda1b1fa11e821.\r\n\r\n* new json for latest satdump version v1.2.1-397f9ed6\r\n\r\n* updated for latest satdump version\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_arm64.deb\r\n\r\n* Create Build_Satdump_v1.2.1-397f9ed6_bookworm_64-bit_amd64.txt\r\n\r\n* amd64 satdump deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_armhf.deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_armhf.deb\r\n\r\n* Update rn2_uninstall.sh\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_amd64.deb\r\n\r\n* Remove old Satdump DEB files\r\n\r\n* Revert \"new json for latest satdump version v1.2.1-397f9ed6\"\r\n\r\nThis reverts commit 2068dc70065bfd0d2c0a8fd95ebe29893df8c954.\r\n\r\n* meging receive_elektro.sh into beta-development and setting ownership/permissions\r\n\r\n* Revert \"meging receive_elektro.sh into beta-development and setting ownership/permissions\"\r\n\r\nThis reverts commit 4ead94f432669b94e923a3f907890377045c0c20.\r\n\r\n* Reverting elektro changes for now from going into beta-support\r\n\r\n* Update permissions.list\r\n\r\n* Update rn2_uninstall.sh\r\n\r\nEnsure config file in /usr/share/satdump/satdump/satdump_cfg.json is removed, so future installs/cloing/in-situ upgrades are sure to generate a file reflective of the template in ansible.\r\n\r\n* Update configs.yml - Added force: yes to satdump_cfg.json\r\n\r\nUpdate configs.yml - Added force: yes to /usr/share/satdump/satdump_cfg.json\r\n\r\n* Update satdump_cfg.json.j2\r\n\r\n* Revert \"Update configs.yml - Added force: yes to satdump_cfg.json\"\r\n\r\nThis reverts commit 387d971a9878a9df38323b9e54b6786ff5385e68.\r\n\r\n* Revert \"Update rn2_uninstall.sh\"\r\n\r\nThis reverts commit 532b1749646cbd22fc1b11aad410f6ed265a7e55.\r\n\r\n* Revert \"Update satdump_cfg.json.j2\"\r\n\r\nThis reverts commit 36ad30e45d5777652e168013ff4354a5af56667d.\r\n\r\n* Update permissions.list\r\n\r\nupdated for validation tool permissions.list for 5 new DEB files\r\n\r\n* Update histogram.sh - Fix so it works on Bookworm\r\n\r\n* Update histogram.sh - Enhanced histogram fix \r\n\r\nEnhanced histogram fix so it will working on RPi's and VM's running Bookworm or Bullseye\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI ","shortMessageHtmlLink":"Beta development - Fix histograms on Bookworm (#1069), thanks Patrice…"}},{"before":"66c6fac69a88cf97786dd53ae2f6e5c608b24630","after":"a9819a8025aba48b1959ab4d8da4f9ad907a481a","ref":"refs/heads/beta-development","pushedAt":"2024-09-09T14:10:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Skipping \"enhanced-IR\" enhancement when using WXtoImg (#1068)\n\n* Editing SatDump config file + additional logic\r\n\r\nI've added `meteor_daytime_enhancements` and `meteor_nighttime_enhancements` to the `settings.yml` file and additional logic in the `Capture.php` file to include all enhancements listed for creation for Meteor M2-X.\r\n\r\n* Ooops...\r\n\r\n* Ooops... Forgot to add Meteor enhancements in PHP\r\n\r\n* Ooops...\r\n\r\n* Skipping \"enhanced-IR\" enhancement when using WXtoImg","shortMessageHtmlLink":"Skipping \"enhanced-IR\" enhancement when using WXtoImg (#1068)"}},{"before":"37b6b9eeb864974e05a4d0c7f68200f38df45a42","after":"66c6fac69a88cf97786dd53ae2f6e5c608b24630","ref":"refs/heads/beta-development","pushedAt":"2024-09-07T23:39:28.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"updated permissions.list for verification tool checking of the 5 new satdump DEB files (#1066)\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Update dependencies/yml - added become: yes for .config ownership\r\n\r\n* Update facebook_push.md - updated doc\r\n\r\nCorrected testing syntax and added a useful link to get page token\r\n\r\n* Resolve [DEPRECATION WARNING] message\r\n\r\nChange include: to include_tasks:\r\n\r\n* Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\r\n\r\nremoved AIM 31304 satellite (decom'd) allowing satdump to download/build its. TLE files in ${HOME}/.config/satdump/satdump_tles.txt\r\n\r\n* Revert \"Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\"\r\n\r\nThis reverts commit 487753e0edb8821f9ff2c11571eda1b1fa11e821.\r\n\r\n* new json for latest satdump version v1.2.1-397f9ed6\r\n\r\n* updated for latest satdump version\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_arm64.deb\r\n\r\n* Create Build_Satdump_v1.2.1-397f9ed6_bookworm_64-bit_amd64.txt\r\n\r\n* amd64 satdump deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_armhf.deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_armhf.deb\r\n\r\n* Update rn2_uninstall.sh\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_amd64.deb\r\n\r\n* Remove old Satdump DEB files\r\n\r\n* Revert \"new json for latest satdump version v1.2.1-397f9ed6\"\r\n\r\nThis reverts commit 2068dc70065bfd0d2c0a8fd95ebe29893df8c954.\r\n\r\n* meging receive_elektro.sh into beta-development and setting ownership/permissions\r\n\r\n* Revert \"meging receive_elektro.sh into beta-development and setting ownership/permissions\"\r\n\r\nThis reverts commit 4ead94f432669b94e923a3f907890377045c0c20.\r\n\r\n* Reverting elektro changes for now from going into beta-support\r\n\r\n* Update permissions.list\r\n\r\n* Update rn2_uninstall.sh\r\n\r\nEnsure config file in /usr/share/satdump/satdump/satdump_cfg.json is removed, so future installs/cloing/in-situ upgrades are sure to generate a file reflective of the template in ansible.\r\n\r\n* Update configs.yml - Added force: yes to satdump_cfg.json\r\n\r\nUpdate configs.yml - Added force: yes to /usr/share/satdump/satdump_cfg.json\r\n\r\n* Update satdump_cfg.json.j2\r\n\r\n* Revert \"Update configs.yml - Added force: yes to satdump_cfg.json\"\r\n\r\nThis reverts commit 387d971a9878a9df38323b9e54b6786ff5385e68.\r\n\r\n* Revert \"Update rn2_uninstall.sh\"\r\n\r\nThis reverts commit 532b1749646cbd22fc1b11aad410f6ed265a7e55.\r\n\r\n* Revert \"Update satdump_cfg.json.j2\"\r\n\r\nThis reverts commit 36ad30e45d5777652e168013ff4354a5af56667d.\r\n\r\n* Update permissions.list\r\n\r\nupdated for validation tool permissions.list for 5 new DEB files\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI ","shortMessageHtmlLink":"updated permissions.list for verification tool checking of the 5 new …"}},{"before":"41e56fb420bbb73ec3fc775252b4b9329cee2d60","after":"37b6b9eeb864974e05a4d0c7f68200f38df45a42","ref":"refs/heads/beta-development","pushedAt":"2024-09-07T09:03:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Ooops... (#1067)\n\n* Editing SatDump config file + additional logic\r\n\r\nI've added `meteor_daytime_enhancements` and `meteor_nighttime_enhancements` to the `settings.yml` file and additional logic in the `Capture.php` file to include all enhancements listed for creation for Meteor M2-X.\r\n\r\n* Ooops...\r\n\r\n* Ooops... Forgot to add Meteor enhancements in PHP\r\n\r\n* Ooops...","shortMessageHtmlLink":"Ooops... (#1067)"}},{"before":"c432877421e2572c5594d249c4ca8aaf827857d2","after":"41e56fb420bbb73ec3fc775252b4b9329cee2d60","ref":"refs/heads/beta-development","pushedAt":"2024-09-06T23:37:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Ooops... Forgot to add Meteor enhancements in PHP (#1065)\n\n* Editing SatDump config file + additional logic\r\n\r\nI've added `meteor_daytime_enhancements` and `meteor_nighttime_enhancements` to the `settings.yml` file and additional logic in the `Capture.php` file to include all enhancements listed for creation for Meteor M2-X.\r\n\r\n* Ooops...\r\n\r\n* Ooops... Forgot to add Meteor enhancements in PHP","shortMessageHtmlLink":"Ooops... Forgot to add Meteor enhancements in PHP (#1065)"}},{"before":"f83f04004518efa10790959ece82559f6998581b","after":"c432877421e2572c5594d249c4ca8aaf827857d2","ref":"refs/heads/beta-development","pushedAt":"2024-09-06T13:19:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Ooops... (#1063)\n\n* Editing SatDump config file + additional logic\r\n\r\nI've added `meteor_daytime_enhancements` and `meteor_nighttime_enhancements` to the `settings.yml` file and additional logic in the `Capture.php` file to include all enhancements listed for creation for Meteor M2-X.\r\n\r\n* Ooops...","shortMessageHtmlLink":"Ooops... (#1063)"}},{"before":"5382f6b823d1dace3a12865084111954bfe60ecd","after":"f83f04004518efa10790959ece82559f6998581b","ref":"refs/heads/beta-development","pushedAt":"2024-09-06T13:12:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Editing SatDump config file + additional logic (#1062)\n\nI've added `meteor_daytime_enhancements` and `meteor_nighttime_enhancements` to the `settings.yml` file and additional logic in the `Capture.php` file to include all enhancements listed for creation for Meteor M2-X.","shortMessageHtmlLink":"Editing SatDump config file + additional logic (#1062)"}},{"before":"1a2482008d178a0f562e6c7d481641441725302c","after":"5382f6b823d1dace3a12865084111954bfe60ecd","ref":"refs/heads/beta-development","pushedAt":"2024-09-06T12:53:03.000Z","pushType":"push","commitsCount":12,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Merge branch 'master' into beta-development","shortMessageHtmlLink":"Merge branch 'master' into beta-development"}},{"before":"8b94629a12d8b9808959ce456de3860e803ba805","after":"1a2482008d178a0f562e6c7d481641441725302c","ref":"refs/heads/beta-development","pushedAt":"2024-09-06T12:51:27.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Created 5 new Satdump DEB files, remove the old ones, , modify dependencies for satdump commit#, modify satdump_cfg.json.j2, modified main.yml to resolve anisable DEPRECATION WARNING, modify rn2_uninstall to use simplified code to determine OS (#1061)\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Update dependencies/yml - added become: yes for .config ownership\r\n\r\n* Update facebook_push.md - updated doc\r\n\r\nCorrected testing syntax and added a useful link to get page token\r\n\r\n* Resolve [DEPRECATION WARNING] message\r\n\r\nChange include: to include_tasks:\r\n\r\n* Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\r\n\r\nremoved AIM 31304 satellite (decom'd) allowing satdump to download/build its. TLE files in ${HOME}/.config/satdump/satdump_tles.txt\r\n\r\n* Revert \"Update satdump_cfg.json.j2 - removed AIM 31304 satellite (decom'd)\"\r\n\r\nThis reverts commit 487753e0edb8821f9ff2c11571eda1b1fa11e821.\r\n\r\n* new json for latest satdump version v1.2.1-397f9ed6\r\n\r\n* updated for latest satdump version\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_arm64.deb\r\n\r\n* Create Build_Satdump_v1.2.1-397f9ed6_bookworm_64-bit_amd64.txt\r\n\r\n* amd64 satdump deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_armhf.deb\r\n\r\n* Create satdump_1.2.1-397f9ed6_bookworm_armhf.deb\r\n\r\n* Update rn2_uninstall.sh\r\n\r\n* Create satdump_1.2.1-397f9ed6_bullseye_amd64.deb\r\n\r\n* Remove old Satdump DEB files\r\n\r\n* Revert \"new json for latest satdump version v1.2.1-397f9ed6\"\r\n\r\nThis reverts commit 2068dc70065bfd0d2c0a8fd95ebe29893df8c954.\r\n\r\n* meging receive_elektro.sh into beta-development and setting ownership/permissions\r\n\r\n* Revert \"meging receive_elektro.sh into beta-development and setting ownership/permissions\"\r\n\r\nThis reverts commit 4ead94f432669b94e923a3f907890377045c0c20.\r\n\r\n* Reverting elektro changes for now from going into beta-support\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI ","shortMessageHtmlLink":"Created 5 new Satdump DEB files, remove the old ones, , modify depend…"}},{"before":"7ecf5543a563d31399346ff86c896e7aa67b153d","after":"8b94629a12d8b9808959ce456de3860e803ba805","ref":"refs/heads/beta-development","pushedAt":"2024-08-28T10:44:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Beta development - Update dependencies/yml - added become: yes for .config ownership (#1057)\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Update dependencies/yml - added become: yes for .config ownership\r\n\r\n* Update facebook_push.md - updated doc\r\n\r\nCorrected testing syntax and added a useful link to get page token\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI ","shortMessageHtmlLink":"Beta development - Update dependencies/yml - added become: yes for .c…"}},{"before":"62b014f5d56967e12edb128ab7ad81923feca075","after":"7ecf5543a563d31399346ff86c896e7aa67b153d","ref":"refs/heads/beta-development","pushedAt":"2024-08-28T10:43:37.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Fix deprecation warning in heatmap.py (#1059)\n\n* fixes #1021\r\n\r\n* fixes deprecation message for getsize and ANTIALIAS (will be removed in Pillow 10)","shortMessageHtmlLink":"Fix deprecation warning in heatmap.py (#1059)"}},{"before":"3d23c34a85fcf1b31c381ef8ccceae6969fe18cc","after":"62b014f5d56967e12edb128ab7ad81923feca075","ref":"refs/heads/beta-development","pushedAt":"2024-08-28T10:42:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Allow odd timezones in sun.py (#1056)\n\n* fixes #1021\r\n\r\n* fixes #1055","shortMessageHtmlLink":"Allow odd timezones in sun.py (#1056)"}},{"before":"e7ef2d7b1ff282d052d01d0054897615b60c402f","after":"3d23c34a85fcf1b31c381ef8ccceae6969fe18cc","ref":"refs/heads/beta-development","pushedAt":"2024-08-14T14:36:02.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Beta development - modified receive scripts to pass PPM & Offset based on receiver type (#1052)\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task\r\n\r\n* Reverting PPM changes to receive scripts\r\n\r\nppm_correction should only be used for RTPSDR and RTL-TCP, there may be other receivers that can use it but unknown\r\n\r\n* Update noaa-v2.conf.j2\r\n\r\nThis was left out of ansible/roles/common/templates/noaa-v2.conf.j2 template file which caused an error for anyone enabling it.\r\n\r\n# Coronal mass ejection activity\r\nENABLE_CORONAL={{ enable_coronal|lower }}\r\n\r\n* modified receive scripts to pass PPM & Offset based on receiver type\r\n\r\nModified receivenoaa.sh & receive_meteor.sh scripts to pass PPM & Offset based on receiver type.\r\n\r\nAlso added a log statement so everybody can see whats getting sent to satdump from output.log\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\n\r\n# I added setting FREQ_OFFSET=\"\" when its not an rtlsdr receiver to prevent the Offset being passed to satdump\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nelse\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nfi\r\n\r\nI tested it for NOAA 18 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7454 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\nINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm was passed\r\n\r\n14:08:43 - 13/08/2024] (D) Parameters :\r\n[14:08:43 - 13/08/2024] (D) - align_timestamps : true\r\n[14:08:43 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:08:43 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:08:43 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:08:43 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:08:43 - 13/08/2024] (D) - frequency : 137912500\r\n[14:08:43 - 13/08/2024] (D) - gain : 49.6\r\n[14:08:43 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:08:43 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:08:43 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nif [[ \"$receiver\" == \"rtlsdr\" ]]; then\r\n gain_option=\"--general_gain\"\r\n FREQ_OFFSET=\"\"\r\nelse\r\n gain_option=\"--gain\"\r\n ppm_correction=\"--ppm_correction\"\r\nfi\r\n\r\nrichard@raspberrypi:~$ /home/richard/raspberry-noaa-v2/scripts/receive_noaa.sh \"NOAA 18\" NOAA-18-20240813-153343 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723563223 3 32 Southbound E\r\nINFO : The system has enough space to store a NOAA pass on RAM\r\nINFO : Free : 7452 ; Required : 50\r\nINFO : Direction Southbound\r\nINFO : Cropping SatDump NOAA images enabled\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at MHz via SatDump live pipeline\r\nINFO : /usr/bin/satdump live noaa_apt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9125e6 --satellite_number 18 --sdrpp_noise_reduction --general_gain 49.6 --autocrop_wedges --start_timestamp 1723563313 --save_wav --timeout 3\r\n^CINFO : Files recorded\r\nINFO : Resampling down audio\r\nINFO : Producing pristine image\r\nINFO : Bulding pass map\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:11:17 - 13/08/2024] (D) Parameters :\r\n[14:11:17 - 13/08/2024] (D) - align_timestamps : true\r\n[14:11:17 - 13/08/2024] (D) - audio_samplerate : 50000.0\r\n[14:11:17 - 13/08/2024] (D) - autocrop_wedges : true\r\n[14:11:17 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:11:17 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:11:17 - 13/08/2024] (D) - frequency : 137912500\r\n[14:11:17 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:11:17 - 13/08/2024] (D) - max_crop_stddev : 3500\r\n[14:11:17 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\nI modified receive_metoer.sh and performed the same testing\r\n\r\n/home/richard/raspberry-noaa-v2/scripts/receive_meteor.sh \"METEOR-M2 4\" METEOR-M2-4-20240813-194754 /home/richard/raspberry-noaa-v2/tmp/orbit.tle 1723578474 3 83 Northbound W\r\n\r\nI tested it for M2-4 and you can see PPM and Offset was passed to satdump as desired:\r\n\r\nINFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7462 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --ppm_correction 0 --frequency 137.9000e6 --gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm was passed\r\n\r\n[14:32:22 - 13/08/2024] (D) Parameters :\r\n[14:32:22 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:32:22 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:32:22 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:32:22 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:32:22 - 13/08/2024] (D) - derandomize : true\r\n[14:32:22 - 13/08/2024] (D) - fill_missing : true\r\n[14:32:22 - 13/08/2024] (D) - frequency : 137900000\r\n[14:32:22 - 13/08/2024] (D) - gain : 49.6\r\n[14:32:22 - 13/08/2024] (D) - nrzm : true\r\n[14:32:22 - 13/08/2024] (D) - ppm_correction : 0\r\n[14:32:22 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:32:22 - 13/08/2024] (D) - rs_i : 4\r\n[14:32:22 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:32:22 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:32:22 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n# Since I don't have another SDR receiver type, I flipped the logic to test that neither --ppm_correction or Offset values were passed to setdump using:\r\n\r\nNFO : The system has enough space to store a Meteor pass on RAM\r\nINFO : Free : 7463 ; Required : 10\r\nINFO : Direction Northbound\r\nINFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true and PASS_DIRECTION is Northbound\r\nINFO : Recording /home/richard/raspberry-noaa-v2 via rtlsdr at 137.9000 MHz using SatDump record\r\nINFO : /usr/bin/satdump live meteor_m2-x_lrpt . --source rtlsdr --samplerate 1.024e6 --frequency 137.9000e6 --general_gain 49.6 --fill_missing --timeout 3\r\nINFO : Removing old bmp, gcp, and dat files\r\nINFO : Running MeteorDemod to demodulate OQPSK file, rectify (spread) images, create heat map and composites and convert them to JPG\r\nINFO : Waiting for files to close\r\n\r\nSatdump log shows ppm & offset was not passed\r\n\r\n[14:35:06 - 13/08/2024] (D) Parameters :\r\n[14:35:06 - 13/08/2024] (D) - baseband_format : \"cf32\"\r\n[14:35:06 - 13/08/2024] (D) - buffer_size : 1000000\r\n[14:35:06 - 13/08/2024] (D) - cadu_size : 8192\r\n[14:35:06 - 13/08/2024] (D) - constellation : \"oqpsk\"\r\n[14:35:06 - 13/08/2024] (D) - derandomize : true\r\n[14:35:06 - 13/08/2024] (D) - fill_missing : true\r\n[14:35:06 - 13/08/2024] (D) - frequency : 137900000\r\n[14:35:06 - 13/08/2024] (D) - general_gain : 49.6\r\n[14:35:06 - 13/08/2024] (D) - nrzm : true\r\n[14:35:06 - 13/08/2024] (D) - rs_dualbasis : false\r\n[14:35:06 - 13/08/2024] (D) - rs_i : 4\r\n[14:35:06 - 13/08/2024] (D) - rs_type : \"rs223\"\r\n[14:35:06 - 13/08/2024] (D) - rs_usecheck : true\r\n[14:35:06 - 13/08/2024] (D) - samplerate : 1024000\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n* Ensure ownership/permissions are set correctly for key scripts\r\n\r\n---------\r\n\r\nCo-authored-by: MihajloPi - YU4MPI ","shortMessageHtmlLink":"Beta development - modified receive scripts to pass PPM & Offset base…"}},{"before":"d4603c84a63c08bc2237feebd037c66e2e66fb4e","after":"e7ef2d7b1ff282d052d01d0054897615b60c402f","ref":"refs/heads/beta-development","pushedAt":"2024-08-13T12:11:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Fix to be tested for RTL-SDR PPM correction (#1051)\n\n* Fixing filling issue for SatDump Meteor images\r\n\r\n* Fix to be tested","shortMessageHtmlLink":"Fix to be tested for RTL-SDR PPM correction (#1051)"}},{"before":"023cd181089d1403e5af444884c9be35baec49c7","after":"d4603c84a63c08bc2237feebd037c66e2e66fb4e","ref":"refs/heads/beta-development","pushedAt":"2024-08-13T11:00:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Beta development - Setting SDR Device ID, Fixed Receive scripts to pass PPM Offset, Fixed dependancies to work on OS Lite versions (#1049)\n\n* Setting SDR Device ID\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* Update setting_sdr_source_id.md - fixed mispelling\r\n\r\n* Update setting_sdr_source_id.md - Fixed 2nd typo\r\n\r\n* Update setting_sdr_source_id.md - Fixed more typo's (SMH)\r\n\r\n* Update setting_sdr_source_id.md - Reformatting\r\n\r\n* Update setting_sdr_source_id.md\r\n\r\n* beta-development - Pass missing --ppm_correction parameter to satdump\r\n\r\nTested PPM Offset was passed and processed by satdump correctly when receive scripts were called from AT jobs with settings.yml values of :\r\n\r\nnoaa_15_freq_offset: -2\r\nnoaa_18_freq_offset: -1\r\nnoaa_19_freq_offset: 0\r\nmeteor_m2_3_freq_offset: 1\r\nmeteor_m2_4_freq_offset: 2\r\n\r\n* beta-development - bug fix - OS Lite versions Bookworm 64 & Bullseye 32\r\n\r\nOS Lite versions Bookworm 64 & Bullseye 32 fail on fresh OS install\r\n\r\nI have tested this fix on Bookworm 64-bit full & lite as well as Bullseye 32-bit Full/lite\r\n\r\nOS Lite versions do not have .config, but when its created as as part of the .config/meteordemod task below\r\nThe .config ownership of top directory is root:root 755 when this happens and it needs to be target_user:target_user 700\r\n\r\n* Clean up Bogus config/annotation directory created under $HOME\r\n\r\nRN2 installs have been placing a second config/annotation directory under ${HOME} which is not used.\r\n\r\nAs part of this clean up the verification tool permissions list has this directory and is sub directory removed from being checked.\r\n\r\n* Removed unneeded task","shortMessageHtmlLink":"Beta development - Setting SDR Device ID, Fixed Receive scripts to pa…"}},{"before":"0f45098402f4d721f4c6de9eb6c3b98ec8bacd15","after":"023cd181089d1403e5af444884c9be35baec49c7","ref":"refs/heads/beta-development","pushedAt":"2024-08-12T10:58:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Update verification.sh (#1046)\n\nOoops... I had hard coded /home/richard , fixed with ${HOME}","shortMessageHtmlLink":"Update verification.sh (#1046)"}},{"before":"fb5b46f0c545cbc1203277bd759dbadeb877f97d","after":"0f45098402f4d721f4c6de9eb6c3b98ec8bacd15","ref":"refs/heads/beta-development","pushedAt":"2024-08-12T10:57:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Update rn2_uninstall.sh (#1045)\n\nCommenting out systemctl disable service because disable causes it to remain disabled even after the service is removed and reinstalled by Ansible \r\n\t\r\nCommenting out the disable command has no impact since it will be removed when removing packages","shortMessageHtmlLink":"Update rn2_uninstall.sh (#1045)"}},{"before":"ef65cfac5c87fc2d44a3f952f581f28c7dafcc3c","after":"9c724cd2f518cb68a2083282f5767f6a0e403600","ref":"refs/heads/master","pushedAt":"2024-08-12T10:57:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Update README.md - Add 5th Prereq (#1044)\n\n5. When you perform the operating system install, please ensure the account name you choose for installing the RN2 software under is 9 characters or less.\r\nThis character limit is due to a known constraint with predict scheduling tool.","shortMessageHtmlLink":"Update README.md - Add 5th Prereq (#1044)"}},{"before":"f7bdd1218bcdb67a7af1c85bfa51596de018fe5f","after":"fb5b46f0c545cbc1203277bd759dbadeb877f97d","ref":"refs/heads/beta-development","pushedAt":"2024-08-12T10:56:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Update README.md (#1043)","shortMessageHtmlLink":"Update README.md (#1043)"}},{"before":"2bec183760d112995c4e6009914509a120e74a2a","after":"d48004383812282196efc5b508f524ef6cb81f0b","ref":"refs/heads/elektro-l3-support","pushedAt":"2024-08-07T15:50:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Beta development (#1039)\n\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n* Sunsetting legacy Debian 32 bit and Debian 64 bit support\r\n\r\n* aarch64 support (#1031)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme \r\n\r\n* Rebooting the Pi automatically after the first install\r\n\r\n* Fixing filling issue for Meteor when decoding with SatDump\r\n\r\n* Update README.md (#1037)\r\n\r\n* Update core.yml - Simply getting OS Release (#1038)\r\n\r\nUpdate core.yml - Simply getting OS Release \r\n\r\nGoal was to work on as many as Debian Distro's as possible even if they are using local repo's\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme ","shortMessageHtmlLink":"Beta development (#1039)"}},{"before":"5271f6112e98f1baf16031df25594d65d51e1a04","after":"f7bdd1218bcdb67a7af1c85bfa51596de018fe5f","ref":"refs/heads/beta-development","pushedAt":"2024-08-07T15:49:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Update core.yml - Simply getting OS Release (#1038)\n\nUpdate core.yml - Simply getting OS Release \r\n\r\nGoal was to work on as many as Debian Distro's as possible even if they are using local repo's","shortMessageHtmlLink":"Update core.yml - Simply getting OS Release (#1038)"}},{"before":"4bb09e0ff28f74f1746ef0f949d235ca12df0533","after":"5271f6112e98f1baf16031df25594d65d51e1a04","ref":"refs/heads/beta-development","pushedAt":"2024-08-06T23:56:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Update README.md (#1037)","shortMessageHtmlLink":"Update README.md (#1037)"}},{"before":"95bfa279ca332c1c463db7f3fef71b0c5fe6f58e","after":"2bec183760d112995c4e6009914509a120e74a2a","ref":"refs/heads/elektro-l3-support","pushedAt":"2024-08-05T18:44:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Fixing filling issue for Meteor when decoding with SatDump (#1036)\n\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n* Sunsetting legacy Debian 32 bit and Debian 64 bit support\r\n\r\n* aarch64 support (#1031)\r\n\r\n* Add toggle for coronal mass GIFs\r\n\r\n* aarch64 support\r\n\r\nFixed typo in README\r\nModified dependencies.yml to support 64-bit Predict and Satdump\r\nNew script strach_perms.sh to correct /run/user/${UID} after reboot\r\nNew script set_os_config_kernel8.sh to modify kernel so wxtoimg will run\r\nNew DEB file for 64-bit predict\r\nNew DEB file for 64-bit satdump\r\n\r\n* SatDump update for x64 machines\r\n\r\n* Modified tools & dependancies\r\n\r\nModified dependancies in support of :\r\nwxtoimg libraries on ARM64\r\nwxtoimg symbolic link for ARM64\r\npredict on ARM64\r\n\r\nModified tasks in support of :\r\nwxtoimg kernel8\r\nFixing /run/user/uid permissions on reboot\r\n\r\n* Disabled - name: copy RTL-SDR udev rule\r\n\r\nWe have an intermittant conflict from dualing UDEV rule files. They are identifical, but sometimes cause Satdump not to be able to open RTL-SDR receiver when executed as a non-root user.\r\n\r\n/usr/lib/udev/rules.d/60-librtlsdr0.rules is installed from OSMON's it clone RTL-SDR software\" , which puts /lib/udev/rules.d/60-librtlsdr0.rules in place\r\n\r\n* rework\r\n\r\n* Added --fill_missing option to NOAA & METEOR receive scripts\r\n\r\n* undo \"fill_missing\" option from NOAA as its for GOES and METEOR only\r\n\r\n* Hmmm somehow `--fill_missing` got lost when I switched to SatDump live decoding\r\n\r\n* Adding updated SatDump for armhf built by Richard\r\n\r\n* Providing support for any Debian based distro\r\n\r\n* Setting automatic deletion to false to store 3 days worth of audio for archiving and debugging\r\n\r\n* Fixing the log for the breakpoint\r\n\r\n* Fixing the log for the break point\r\n\r\n* Preventing invalid receiver_type and satellite decoders from going past the install script\r\n\r\n* Adding fix to prevent Gtk-WARNING\r\n\r\nModified schedule.sh to unset XTERM variables which would cause NOAA annotations to fail when passes were scheduled via VNC using lxterminal.\r\n\r\n* Widening the scope of variables to omit when scheduling passes\r\n\r\n* Added WAYFIRE to omit\r\n\r\n* Update receive_meteor.sh\r\n\r\nBacking out --fill_missing to avoid merge conflict with parent\r\n\r\n* Update receive_noaa.sh - Backing out changes to avoid merge conflict\r\n\r\n* add bottom - next/previous page in CAPTURE\r\n\r\nhttps://github.com/jekhokie/raspberry-noaa-v2/issues/1002\r\n\r\n* Ooops... Thanks Jerome!\r\n\r\n* Updating comments\r\n\r\n* Modified polar_plot.py to resolve warning when generating AZ/EL & Direction images\r\n\r\nModified polar_plot.py to resolve warning when generating AZ/EL & Direction images.\r\n\r\nExample of warnings...\r\n\r\nUserWarning: marker is redundantly defined by the 'marker' keyword argument and the fmt string \"o\" (-> marker='o'). The keyword argument will take precedence.\r\n p.plot(az_at_max_elev, max_elev, 'o', marker=\"*\", markersize=12, label=\"Max El\")\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\nSince the source code to WXTOIMG is not available I used gdc (w/o symbols) and strace and see what is causing the 'free invalid pointer' error. I determined that it happens on application clean up after successfully processing the map overlay file into the final image. Everything is working correctly except the clean up of a 3rd memory location which is failing because it was already removed by the kernel I believe.\r\n\r\nstrace snippet:\r\nmunmap(0xef6b8000, 20533248) = 0\r\nmunmap(0xee323000, 20533248) = 0\r\nmunmap(0xecf8e000, 20533248) = 0\r\nwritev(2, [{iov_base=\"free(): invalid pointer\", iov_len=23}, {iov_base=\"\\n\", iov_len=1}], 2) = 24\r\n\r\nThe first two munmap calls worked and the third munmap fails as its already deallocated.\r\n\r\nThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. The region is also automatically unmapped when the process is terminated. On the other hand, closing the file descriptor does not unmap the region.\r\n\r\nAt this point I'm happy to know it successfully allocated those memory slots for processing\r\n\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xef6b8000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xee323000\r\nmmap2(NULL, 20533248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xecf8e000\r\n\r\n but it was freeing up memory on the last address that it threw the error. This modification to receive_noaa.sh is to filter out the 'free invalid pointer' and 'Aborted' messages before its written out to the RN2 log\r\n\r\n* Filter out wxtoimg error messages for known/acceptable issue\r\n\r\n* Modified dependencies to support 32-bit wxtoimg on arm64 & amd64\r\n\r\n* Modified core.yml to support various flavors of Linux\r\n\r\n* Removed wxtoimg 320bit support for AMD64 since we have a DEB for it already\r\n\r\n* Update README.md\r\n\r\n* Tuning Meteor M2-4 maps in MeteorDemod\r\n\r\n* Define XDG_RUNTIME_DIR with proper permissions\r\n\r\nDefine XDG_RUNTIME_DIR with proper permissions\r\n\r\n* Introduction of Verification Tool and RN2 uninstall script (#1019)\r\n\r\n* Introduction of verification tool\r\n\r\nThe verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning f capture/decode/processing of APT telemetry data.\r\n\r\nExecute the verification script by passing the required argument [ quick | full ]\r\n\r\n$HOME/raspberry-noaa-v2/scripts/tools/verification.sh\r\n\r\nArgument required: ./verification.sh quick or ./verification.sh full\r\n (~ 1 minute) (~ 5 minutes)\r\n\r\n#########\r\n# NOTES #\r\n#########\r\n\r\n# Dryrun of binaries includes executing :\r\n\r\n nxing web page returned 200 OK status to confirm Web Portal is up.\r\n\r\n satdump live capture for 1 second to ensure it runs without error.\r\n\r\n wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png\r\n\r\n wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg\r\n\r\n meteordemod -h is executed to ensure it runs without error.\r\n\r\n# When FULL mode is choosen meterdemod fully decodes a staged cadu file :\r\n\r\n meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp\r\n\r\n* Set 755 on verification.sh\r\n\r\nSet 755 on verification.sh\r\n\r\n* Ensure meteordemond working directory exists\r\n\r\n* Set 755 on build_permissions_list.sh\r\n\r\n* Update README.md\r\n\r\nIntroduction of new Verification Tool\r\n\r\n* Update README.md\r\n\r\nReformatting Troubleshooting section from lastchange\r\n\r\n* Update README.md\r\n\r\n* Script to remove RN2 installation\r\n\r\n* updated to shutdown nginx before removal\r\n\r\n* stop php service\r\n\r\n* Corrected php service name to stop when removing RN2\r\n\r\n* further cleanup of services\r\n\r\n* Tweaked some of the logging messages\r\n\r\n* updated to remove rtl-sdr package\r\n\r\n* install script does not install RTL-SDR when it finds source in /tmp\r\n\r\n* Update caution_uninstall_rn2.sh\r\n\r\n* Clean up the library cache so any dangling items are cleared & RTL-SDR changes since it is not a APT installed package (#1020)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Delete db backup files that are older than 3 days\r\n\r\n* Removing old PHP thumbnail selection for Meteor (which didn't work)\r\n\r\n* Squashed commit of the following:\r\n\r\ncommit 806663a83a01c91a74f214a15d9b2d7b2500f1e7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:41:41 2024 -0400\r\n\r\n Corrected variable name\r\n\r\ncommit cd010e0053f8dbe32421e65bd12dae501f879978\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 07:15:51 2024 -0400\r\n\r\n Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\ncommit 8c6ea4e755f5ff469b1463eacb10f6a5f9cb70b7\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Tue Jul 30 06:38:18 2024 -0400\r\n\r\n Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\ncommit a5b7821479bf74f9b7c0d0a67998424fde30e642\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 21:24:29 2024 -0400\r\n\r\n Updated to remove reboot dependency and execute Verification Tool\r\n\r\n Verification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\ncommit 3c50ae76316a823174ced50e0d68c1bbf2189949\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:17:12 2024 -0400\r\n\r\n Added error handling and Improved text in echo for moving RN2 tree\r\n\r\ncommit b375303f75d62f22d852cfd18162fc9bebe1fcdd\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 17:07:59 2024 -0400\r\n\r\n Moved git clone command to start of script\r\n\r\n Moved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\ncommit 5552f61a62d15f7f9413a6b8b1d99336a2a9c135\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 12:03:14 2024 -0400\r\n\r\n Stop and RN2 AT processes that might be running during uninstall\r\n\r\n # kill any RN2 AT processes as part of clean up, otherwise danglers\r\n # may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\ncommit edd0f4ef45b20aceeccc708729023fb5d9afbc8e\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:36:23 2024 -0400\r\n\r\n Corrected /srv restore/Unstage permissions\r\n\r\ncommit 7d91bd16a8cb249e3519b474ea0561624f7d82b4\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 11:18:53 2024 -0400\r\n\r\n Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\ncommit 8c0c56d2ba6ead61105450204862fa665116bf9b\r\nMerge: a007035 bb0d497\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:49:02 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit a00703542ffb999d18f5fe423971e96782408066\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:48:21 2024 -0400\r\n\r\n Added tee -a for appending to log file\r\n\r\ncommit bb0d497e96c28a9e260439e3bc46e11766a644d9\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:27:38 2024 -0400\r\n\r\n Resolve merge conflict\r\n\r\ncommit a83fda3a95650a5906deeb03b8e8a1851a257ce9\r\nMerge: acb9fc5 3fd34b1\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:16:48 2024 -0400\r\n\r\n Merge branch 'aarch64-support' of https://github.com/creas002/raspberry-noaa-v2 into aarch64-support\r\n\r\ncommit acb9fc53b8462b90561532eed28bb110efe4a6f2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:14:45 2024 -0400\r\n\r\n Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\ncommit 3fd34b17f5d79f00e2ec9bb24ade1cc958bf3ee2\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 10:08:22 2024 -0400\r\n\r\n Update README.md - In-Situ Upgrade\r\n\r\ncommit 4f97fae0760b4fd1f0d02078bda68a8d495cc161\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:55:59 2024 -0400\r\n\r\n Introduction of In-situ RN2 upgrade\r\n\r\n # 1) Backup/Stage RN2 key directories\r\n # 2) Uninstall existing RN2 installation\r\n # 3) git clone new repository\r\n # 4) Restore/UnStage RN2 key directories\r\n # 5) install_and_upgrade\r\n # 6) verification tool\r\n\r\ncommit b252da5d5319a318af317b0eb5b124733f5da073\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Mon Jul 29 09:10:58 2024 -0400\r\n\r\n Fix - DB Backup directory not cleaned up #1021\r\n\r\ncommit ad5555d760191e5e4e37cf7508b5d6f57de5e2cb\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 11:43:43 2024 -0400\r\n\r\n RTL-SDR changes since it is not a APT installed package\r\n\r\ncommit d967486f8a9f5e1e98f7bacffdf995af52974121\r\nAuthor: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nDate: Sun Jul 21 09:22:53 2024 -0400\r\n\r\n Clean up the library cache so any dangling items are cleared\r\n\r\n* Introduction of RN2 In-Situ Upgrade (#1024)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log to support.sh (#1028)\r\n\r\n* Clean up the library cache so any dangling items are cleared\r\n\r\n* RTL-SDR changes since it is not a APT installed package\r\n\r\n* Fix - DB Backup directory not cleaned up #1021\r\n\r\n* Introduction of In-situ RN2 upgrade\r\n\r\n# 1) Backup/Stage RN2 key directories\r\n# 2) Uninstall existing RN2 installation\r\n# 3) git clone new repository\r\n# 4) Restore/UnStage RN2 key directories\r\n# 5) install_and_upgrade\r\n# 6) verification tool\r\n\r\n* Update README.md - In-Situ Upgrade\r\n\r\n* Script was rename to rn2_uninstall.sh and moved to .rm2_utils\r\n\r\n* Resolve merge conflict\r\n\r\n* Added tee -a for appending to log file\r\n\r\n* Script was renamed to rn2_uninstall.sh and moved to .rn2_utils\r\n\r\n* Corrected /srv restore/Unstage permissions\r\n\r\n* Stop and RN2 AT processes that might be running during uninstall\r\n\r\n# kill any RN2 AT processes as part of clean up, otherwise danglers\r\n# may have the RTL-SDR open and verification dry run test for satdump will fail\r\n\r\n* Moved git clone command to start of script\r\n\r\nMoved git clone command to start of script before destructive tasks are performed in case user passed a bad URL or Branch name\r\n\r\n* Added error handling and Improved text in echo for moving RN2 tree\r\n\r\n* Updated to remove reboot dependency and execute Verification Tool\r\n\r\nVerification script had 1 failure after Fresh OS install and install_and_upgrade.sh executed. Reboot would resolve the USB udev permission issue, but reloading udev rules and trigger resolves it without a reboot. I left the code block to execute verification tool on fresh installs, so it only happens the first time. Users can call Verification Tool anytime the need to such as part of support.sh script.\r\n\r\n* Removed /etc/modprobe.d/rtlsdr.conf\r\n\r\n* Since verifcation tool is added to install script, conditionally execute from upgrade script\r\n\r\n* Corrected variable name\r\n\r\n* Added git config, verification tool and tee to log\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme \r\n\r\n* Rebooting the Pi automatically after the first install\r\n\r\n* Fixing filling issue for Meteor when decoding with SatDump\r\n\r\n---------\r\n\r\nCo-authored-by: Sasszem \r\nCo-authored-by: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com>\r\nCo-authored-by: Jérôme ","shortMessageHtmlLink":"Fixing filling issue for Meteor when decoding with SatDump (#1036)"}},{"before":"2c0acc0cad782c3b5d4959cdc822a3acd7dbe8ef","after":"4bb09e0ff28f74f1746ef0f949d235ca12df0533","ref":"refs/heads/beta-development","pushedAt":"2024-08-05T18:43:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MihajloPi","name":"MihajloPi - YU4MPI","path":"/MihajloPi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25284848?s=80&v=4"},"commit":{"message":"Fixing filling issue for Meteor when decoding with SatDump","shortMessageHtmlLink":"Fixing filling issue for Meteor when decoding with SatDump"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xNFQxMDo0NDo0MS4wMDAwMDBazwAAAAS2Lkad","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xNFQxMDo0NDo0MS4wMDAwMDBazwAAAAS2Lkad","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0wNVQxODo0Mzo0MS4wMDAwMDBazwAAAASSWLfg"}},"title":"Activity · jekhokie/raspberry-noaa-v2"}