From 08e143e653b5f14ff207a987b6bfcc15caeee1ba Mon Sep 17 00:00:00 2001 From: Zvonimir Date: Tue, 24 Dec 2024 11:55:06 +0100 Subject: [PATCH 1/3] Fix sqlite3 package --- v8-data-migration/run-data-migration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v8-data-migration/run-data-migration.sh b/v8-data-migration/run-data-migration.sh index 3a84fb442..e774dabfb 100644 --- a/v8-data-migration/run-data-migration.sh +++ b/v8-data-migration/run-data-migration.sh @@ -1 +1 @@ -nohup node v8-data-migration.js & \ No newline at end of file +npm rebuild sqlite3 && nohup node v8-data-migration.js & \ No newline at end of file From 090d0aa69342e87bfc3a6ab233ac4f2f16fa5666 Mon Sep 17 00:00:00 2001 From: Zvonimir Date: Tue, 24 Dec 2024 12:30:49 +0100 Subject: [PATCH 2/3] Fix sqlite3 package --- v8-data-migration/run-data-migration.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v8-data-migration/run-data-migration.sh b/v8-data-migration/run-data-migration.sh index e774dabfb..a24c9dab8 100644 --- a/v8-data-migration/run-data-migration.sh +++ b/v8-data-migration/run-data-migration.sh @@ -1 +1,3 @@ -npm rebuild sqlite3 && nohup node v8-data-migration.js & \ No newline at end of file +cd /root/ot-node/current/v8-data-migration/ && +npm rebuild sqlite3 && +nohup node v8-data-migration.js & \ No newline at end of file From b0792147111f049ce07ca1b0ad3919dc42bbbef1 Mon Sep 17 00:00:00 2001 From: Zvonimir Date: Tue, 24 Dec 2024 13:03:06 +0100 Subject: [PATCH 3/3] Fix bash script --- v8-data-migration/run-data-migration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v8-data-migration/run-data-migration.sh b/v8-data-migration/run-data-migration.sh index a24c9dab8..19947505e 100644 --- a/v8-data-migration/run-data-migration.sh +++ b/v8-data-migration/run-data-migration.sh @@ -1,3 +1,3 @@ cd /root/ot-node/current/v8-data-migration/ && npm rebuild sqlite3 && -nohup node v8-data-migration.js & \ No newline at end of file +nohup node v8-data-migration.js > /root/ot-node/current/v8-data-migration/nohup.out 2>&1 & \ No newline at end of file