68 Commits

Author SHA1 Message Date
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
crowetic
c71b5afad2
force to use killall instead of stop script
no need to use stop script as we'll be replacing the db anyway, just kill it.
2022-10-27 16:26:01 -07:00
crowetic
2108dd53e8
Create refresh-and-modify-start-script.sh
New script to refresh-qortal and modify the start script for systems with lower RAM or memory crashes at the same time.
2022-10-27 16:07:24 -07:00
crowetic
d1b289bdde
Update start-modified-memory-args.sh 2022-10-27 16:04:37 -07:00
crowetic
38285732a2
4GB or lower start script for modified memory args 2022-10-15 13:34:42 -07:00
crowetic
79a1d4d1c0
modify to use curl so it'll work on macs as well. 2022-05-24 09:57:11 -07:00
crowetic
6a451e6f6c
start qortal core from scratch with newest version
This script will 'refresh' the Qortal Core on the QORTector devices, it will remove the qortal.jar, db folder, and log files. It will then download the newest jar, and re-bootstrap.
2022-04-07 12:32:21 -07:00
crowetic
694e020fc5
script to fix titan image sound+bt, updates.
This script is to make fixes to the previously released titan images that didn't have audio or bluetooth functionality. This script will also provide the system updates for the users.
2022-03-18 16:38:30 -07:00
crowetic
69bac27844
files for fixing titan sound. 2022-03-17 09:32:28 -07:00
crowetic
4546c65d49
start script for titan image
Memory arg modification to 1024 2048, and removal of nohup and nice.
2022-03-07 11:29:55 -08:00
crowetic
64ad637cb6
Update reboot-mate.sh 2022-03-05 08:25:04 -08:00
crowetic
f3d10ff7e6
change to use reboot at 3AM every 2 days. 2022-03-04 12:45:28 -08:00
crowetic
f2e67dbb87
modify to use reboot script 2022-03-04 12:44:34 -08:00
crowetic
70c63bd7ba
Add files via upload 2022-03-04 12:42:23 -08:00
crowetic
0d56bc40d7
updated to restart Qortal every 3 days. 2022-03-03 14:44:07 -08:00
crowetic
cdb5988996
fix sinclairMATE image
This script will make changes to sinclairMATE image to use new start script and modify crontab to restart Qortal Core every 5 days.
2022-03-03 14:40:19 -08:00
crowetic
5c3b3df41c
Delete sinclair-mate-fixes.sh 2022-03-03 14:39:20 -08:00
crowetic
6e92967e2a
Update restart-cron 2022-03-03 14:32:21 -08:00
crowetic
d359843b9b
make some changes to SinclairMATE image
This script will change the start.sh script that sinclairMATE images use, and it will add the restart script into cron so that the core auto-restarts every 5 days to prevent OOM errors on SinclairMATE.
2022-03-03 14:20:22 -08:00
crowetic
5daf7db628
restart-qortal script 2022-03-03 14:04:12 -08:00
crowetic
fffc8fb673
cron entry for qortal restart script 2022-03-03 14:03:37 -08:00
crowetic
3d4e14ac0c
custom start script with modded memory args 2022-03-03 13:55:20 -08:00
crowetic
8dd2f43143
This is a complete install and update script for the Qortal UI
This script requires superuser privileges to run, as it also checks, updates, and installs missing dependencies.
2022-01-06 19:10:22 -05:00
crowetic
6eb21cf354
made use ~/ instead of full path. 2021-08-19 11:46:37 -07:00
crowetic
9f7c8d00b3
Desktop startup file for pi4 and QORTector
file goes in ~/.config/autostart
2021-08-19 11:40:30 -07:00
crowetic
24dbff1eab
remove 'reboot' requirement 2021-08-01 14:32:22 -07:00
crowetic
0bba6b6a44
updated qortal install download to use the 'latest' link 2021-07-09 16:21:35 -07:00
crowetic
46e609d76f
missed a cd command 2021-07-09 16:19:49 -07:00
crowetic
a1b2f80e26
updated script to work with new UI repo structure. 2021-06-28 09:23:44 -07:00
crowetic
fec656f24a
Update README.md 2021-06-12 22:06:51 +01:00
crowetic
2fae789f58
Update README.md 2021-06-12 22:05:50 +01:00
crowetic
84336b9f20
Update README.md 2021-06-12 22:05:29 +01:00
crowetic
3a712a888c
added commands to add Start script on desktop 2021-06-12 22:05:02 +01:00