41 Commits

Author SHA1 Message Date
e74dfdb4cc updated code structure and fixed spacing issues, added many features. 2024-05-21 18:11:02 -07:00
20eae7c6cb Updated to check for bootstrapping prior to attempting to start node. 2024-05-21 17:25:22 -07:00
63c066d7e3 added additional check_height function with further features to verify height of node 2024-05-21 16:39:51 -07:00
9e4b7ac66b changed wait time upon first version check 2024-05-21 16:26:29 -07:00
62bbf538da fixed if statement issue 2024-05-21 16:22:56 -07:00
94de5cb8e5 fix 2024-05-21 16:19:21 -07:00
4b72bb27e8 updated auto-fix script and crontab-new entry that was causing failures in script function. 2024-05-21 16:16:01 -07:00
d5eb0f97b4 little fixes 2024-05-11 19:22:30 -07:00
659d10f65c small fixes - script now includes height checks and more. 2024-05-11 19:00:36 -07:00
829c9814a4 updated auto-fix script to check for heights and fix issues from stuck blocks. 2024-05-11 18:53:09 -07:00
432f8a0e97 further updates to auto-fix script to include block height checks, and checking whether block height has changed since last run. 2024-05-11 18:01:40 -07:00
5d0b4c3959 updated auto-fix script with block height checks and more. 2024-05-11 17:32:01 -07:00
crowetic
c74481b694
Update auto-fix-qortal.sh
ADDED additional pi4 checks and start script modifications therein.
2024-04-10 10:30:17 -07:00
be34e7bc7d Updated auto-fix script to ensure users will only update if the version is newer on git... also modified everything so that it utilizes functions. 2024-02-18 13:18:48 -08:00
crowetic
0a32e1e4a0
Update auto-fix-qortal.sh
modified start script for 64bit pi checks.
2024-02-02 16:39:09 -08:00
crowetic
226586d28d
Update auto-fix-qortal.sh
added modified low-ram script - more changes coming soon.
2023-11-19 10:30:52 -08:00
crowetic
152af47a86
Update auto-fix-qortal.sh
modified high-RAM start script settings.
2023-09-07 13:01:34 -07:00
crowetic
cb58179474
Update auto-fix-qortal.sh
changed order of commands for fix on armv7l pi machines
2023-06-03 13:35:00 -07:00
crowetic
3c77062890
Update auto-fix-qortal.sh
fixed logic
2023-06-03 13:21:41 -07:00
crowetic
71d3dca256
Update auto-fix-qortal.sh
added detection of 32bit ARM (armv7l) machines, and corrected start script for compatibility there.
2023-06-03 13:13:05 -07:00
crowetic
380c51ef56
Update auto-fix-qortal.sh
removed status script from desktop and moved to qortal folder.
2023-06-02 14:52:07 -07:00
crowetic
22e3164f25
Update auto-fix-qortal.sh
added raspberry-pi-specific modifications to both skip auto-fix-visible setup and add/verify cron entries for pi auto-fix and auto-start.
2023-05-29 17:14:29 -07:00
crowetic
3f14615c77
Update auto-fix-qortal.sh
modified some wording and sleep times.
2023-05-28 09:35:02 -07:00
crowetic
dc8f7fb0ff
Update auto-fix-qortal.sh
changed the way a few things worked.
2023-05-27 19:30:58 -07:00
crowetic
29cba82e40
Update auto-fix-qortal.sh 2023-05-25 17:25:07 -07:00
crowetic
868594374e
Update auto-fix-qortal.sh
make autostart directory if not existing
2023-05-25 17:23:18 -07:00
crowetic
3b0e3bb4f3
Update auto-fix-qortal.sh
made colors more uniform
2023-05-25 17:15:50 -07:00
crowetic
96f1e7fef6
Update auto-fix-qortal.sh
change text wording and colors
2023-05-25 14:39:39 -07:00
crowetic
69236cdb32
Update auto-fix-qortal.sh
more syntax fixes.
2023-05-25 14:29:45 -07:00
crowetic
002e06ba7c
Update auto-fix-qortal.sh
syntax changes
2023-05-25 14:24:44 -07:00
crowetic
be2ec03cba
Update auto-fix-qortal.sh
fixed rm instead of mv
2023-05-25 14:18:36 -07:00
crowetic
b9eb7f74d4
Update auto-fix-qortal.sh
added check for GUI-based machine, if GUI machine then the system will only run auto-fix via GUI so users can see it. Then it will modify the existing cron entry to remove the auto-fix-startup and add the auto-fix-visible entry in startup applications for GUI.
2023-05-24 19:09:37 -07:00
crowetic
f793d22d87
Update auto-fix-qortal.sh
Added RAM check and modification of start script based on system RAM.
2023-05-24 16:43:33 -07:00
crowetic
e4f8a9a3b1
Update auto-fix-qortal.sh
added 'refresh-qortal.sh' script to downloads.
2023-05-20 10:48:26 -07:00
crowetic
7ef8c2bad8
remove settings.json configuration from this script 2022-12-28 14:09:02 -08:00
crowetic
9b8697dd8b
modified colors to reflect actions 2022-12-05 12:54:12 -08:00
crowetic
c3aa17693b
added update to start-qortal.sh script
script will now update the start-qortal.sh script and include the stop command to avoid 'repository in use' error.
2022-11-25 10:10:47 -08:00
crowetic
cd658559a2
moved modification of start script line
Moved the modification of the start script to after the online checks with other script downloads.
2022-11-18 07:52:15 -08:00
crowetic
c3d86184d5
add settings.json modification and check script
added download of slightly modified settings.json and check-qortal-status.sh script for desktop
2022-11-18 07:45:19 -08:00
crowetic
acaebb080b
Check internet connection and update script at end
Added sections to check for internet connectivity, then to update this script and backup original.
2022-11-14 15:47:41 -08:00
crowetic
196e8ae0fc
auto-fix-qortal script for automated core update
This script will check the hash of the release version of Qortal (in a way that will surely be modified in the future) - It will then verify that the installed qortal.jar is the same hash as the new release. If so, it will exit.

If the installed qortal.jar is a DIFFERENT hash than release version, it will remove existing version, replace with new version, remove db, log files, update start script to use a version that uses max RAM for the JVM of 2.2GB, then start Qortal so that it will auto-bootstrap.

This is a VERY early and VERY 'rough' version of the script, but it works.

It needs a lot more checks to ensure it doesn't remove qortal with nothing to replace it, etc...

it NEEDS internet connectivity, and checks for that.

Many other additions will happen as well.
2022-11-14 14:27:59 -08:00