100 Commits

Author SHA1 Message Date
crowetic
b802ccf374
Update auto-fix-qortal-GUI.desktop
Modified to correct 7 min in seconds... my maths was borked in two wayz... derp.
2023-05-24 17:09:39 -07:00
crowetic
e14467437d
Create auto-fix-qortal-GUI.desktop
file goes in /.config/autostart on GUI linux machines and runs the 'auto-fix-qortal.sh' script 720 seconds (7 min) after system boot.

This is to enable a VISIBLE run of the auto-fix script, so people know what is going on, and to also make it so that if it DOES have to fix something, it will start qortal VISIBLY.

(considering modifying auto-fix-cron so that the only thing that takes place is the DOWNLOAD of the new script, but not sure yet.)
2023-05-24 17:08:29 -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
88b1d10b55
Update and rename start-6500-to-10000m.sh to start-6001-to-16000m.sh
reconfigured concept
2023-05-24 15:34:18 -07:00
crowetic
dcff746e83
Rename start-6500-to-10000-m.sh to start-6500-to-10000m.sh
rename script for bash
2023-05-24 15:10:14 -07:00
crowetic
31617e473f
Create start-6500-to-10000-m.sh
Start script for machines between 6500 and 10000MB of RAM
2023-05-24 15:08:38 -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
a7fb5e2a78
Update start-modified-memory-args.sh
modified memory for more MAX RAM potential.
2023-05-20 10:42:27 -07:00
crowetic
fee1b32c95
Update setup-automation-principal.sh 2023-05-10 12:20:38 -07:00
crowetic
d306ad8f7a
Create auto-fix-cron-principal 2023-05-10 12:16:12 -07:00
crowetic
5272d02bfc
Create setup-automation-principal.sh 2023-05-10 12:13:48 -07:00
crowetic
1e92474052
Update settings.json 2023-02-20 07:43:49 -08:00
crowetic
c70e9819e7
remove peer version settings 2023-02-20 07:43:38 -08:00
crowetic
bc78c98006
torchieMATE default config.txt 2023-01-28 09:18:24 -08:00
crowetic
267d618e8f
removed unnecessary defaults. 2023-01-25 17:14:59 -08:00
crowetic
d1cd20614d
fixed settings misspelling of 'Enabled' 2023-01-25 17:04:04 -08:00
crowetic
69a2fd5fb9
update peer version. 2023-01-25 17:00:16 -08:00
crowetic
6a44b09c7a
re-added nohup to start script 2023-01-25 15:49:29 -08:00
crowetic
dca0b3f632
added net-tools installation 2023-01-12 14:17:58 -08:00
crowetic
ada721685c
add settings.json to this script 2022-12-28 14:09:58 -08:00
crowetic
7ef8c2bad8
remove settings.json configuration from this script 2022-12-28 14:09:02 -08:00
crowetic
2525879d6c
Headless version of setup automation script
This script will work on pi machines with pi user, headless.
2022-12-05 13:20:18 -08:00
crowetic
9b8697dd8b
modified colors to reflect actions 2022-12-05 12:54:12 -08:00
crowetic
b951e89564
Update setup-pi-automation.sh 2022-12-05 12:51:31 -08:00
crowetic
570321c2f4
typo 2022-12-05 12:51:17 -08:00
crowetic
244e608f30
add .sh to script name and rm script upon completion 2022-12-05 12:48:44 -08:00
crowetic
3ec612fe39
remove auto-fix-cron after setup 2022-12-05 12:47:07 -08:00
crowetic
35ab0557d0
update to use mate-terminal
Forgot that the pi devices (at least with our image) utilize mate-terminal not gnome-terminal.
2022-12-05 12:46:04 -08:00
crowetic
bea3353a80
Use this to setup CHD automation scripts on pi
This script is used to SETUP/INSTALL the auto-fix-qortal script and automation therein on pi devices with pi username.

If your pi device is not running with default pi username, you will need to modify the paths so that they utilize the correct username.

in theory it will also start another terminal, and run the auto-fix-qortal script itself in that new terminal. (I do not know if this will work on headless devices this way, if not I will write another script targeted at headless setup.)
2022-12-05 12:41:27 -08:00
crowetic
e62fb032df
use start-qortal.sh script instead
This script will be updated as time goes on, and auto-fix script updates this one, so we want to use this one instead. 

Will also test launching in new terminal window in the future.
2022-12-05 12:34:17 -08:00
crowetic
e7b908e90d
Update README.md 2022-12-02 13:42:55 -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
a847f8f7b2
simple script to stop/start qortal
This script is build to be placed on desktop for linux machines, and will stop/start qortal core for them. This can be used for any linux machine after running auto-fix script from cron and not showing qortal icon, if the user wants to see the icon.

it can also be used by QORTector to start Qortal in a way that shows the icon easily.
2022-11-19 13:33:15 -08:00
crowetic
7257a726fe
fixed issues and added cron and status
Initially the script was moving to Machine-files directory, removed that so it doesn't do that anymore, instead simply moves the files without changing directory so it stays 'home' all the time. 

Also added new cron configuration download and setup, and additional script for checking Qortal status when auto-fix script runs via cron, and has work to do (in which case the Qortal icon will not show up)

User can either wait a few hours, then reboot the machine, or use the check-qortal-status script to get the current status of the core after auto-fix runs from cron.

Auto-fix setup to run automatically @reboot and every 5 days at 1:01 AM.
2022-11-19 13:27:58 -08:00
crowetic
2b1bf33837
crontab config for rebuilt machines with qortal username 2022-11-19 13:19:10 -08:00
crowetic
b637ace990
modified link to latest UI AppImage
Realized the link on Qortal.org was pointing to an older version of the UI AppImage, fixed that on the website and also in the script.
2022-11-19 10:40:21 -08:00
crowetic
f155b58501
Update rebuilt-machine.sh
Added new scripts for auto-fix, added new desktop wallpaper, modified methodology a bit, and ended with a reboot and instructions to login with cinnamon upon restart instead of starting qortal core refresh. Refresh can be run AFTER reboot and desktop configuration changes.

In the future, will add as many of the desktop configuration changes as possible as well, once I figure out how to do them with terminal. :)
2022-11-19 10:38:35 -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
6e1d546453
Create settings.json
slightly modified settings for default.
2022-11-18 07:36:07 -08:00
crowetic
c515f2a434
simple script to check qortal core status
This script is meant to be placed on the desktop and run manually by double-clicking it and clicking 'run in terminal' - it will simply display the status of the Qortal core to the user, then tail the log for 10 minutes, and exit.

This is meant to be used by QORTector with cron auto-start that doesn't show the Qortal icon, so that the user can still see the status.
2022-11-17 17:22:30 -08:00
crowetic
ab9ef4afe1
cron settings for machines to use auto-fix script
This will set the auto-fix-qortal script to run @reboot as well as every 5 days.
2022-11-14 16:13:47 -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
crowetic
b1d0a9445b
Update start-modified-memory-args.sh
Modified amount of RAM usage to 2.2GB and scripts to 2KB
2022-11-13 10:13:27 -08:00
crowetic
bac6ebeb10
added htop install and reminder text 2022-11-09 16:26:30 -08:00
crowetic
656e2ebb50
forgot a 'cd'
Accidentally forgot a 'cd' so the Machine-files zip was downloading to Desktop instead of home where it should have been.
2022-11-09 15:55:54 -08:00
crowetic
1199697bac
modified to use refresh script from git
wanted to be able to modify refresh script if needed from git instead of having to manually modify one in Machine-files zip from cloud.
2022-11-09 15:53:49 -08:00
crowetic
79ff872312
rebuilt-machine script for Ubuntu
This script is meant to be run on a BRAND NEW Ubuntu installation, and it will download the necessary files and images used to customize the OS in accordance to CHD's 'Qortal-OS' Ubuntu Customizations.

Downloads and sets up the Qortal Core, Qortal UI, and grabs a few custom images from the Qortal Cloud, puts them all in the correct locations, then starts the Qortal refresh script.
2022-11-09 15:49:55 -08:00
crowetic
65849a55fc
don't use stop script, just kill java.
There is no need to use the stop script when we're going to be replacing the db anyway, just kill it to ensure java is completely stopped.
2022-10-27 16:27:38 -07:00