diff --git a/rootfs/standard/var/www/mynode/device_info.py b/rootfs/standard/var/www/mynode/device_info.py index 6916ac4d..7b9318c5 100644 --- a/rootfs/standard/var/www/mynode/device_info.py +++ b/rootfs/standard/var/www/mynode/device_info.py @@ -271,7 +271,9 @@ def reinstall_app(app): # Upgrade os.system("mkdir -p /home/admin/upgrade_logs") - cmd = "/usr/bin/mynode_reinstall_app.sh {} > /home/admin/upgrade_logs/reinstall_{}.txt 2>&1".format(app,app) + file1 = "/home/admin/upgrade_logs/reinstall_{}.txt".format(app) + file2 = "/home/admin/upgrade_logs/upgrade_log_latest.txt" + cmd = "/usr/bin/mynode_reinstall_app.sh {} 2>&1 | tee {} {}".format(app,file1, file2) subprocess.call(cmd, shell=True) # Sync diff --git a/rootfs/standard/var/www/mynode/settings.py b/rootfs/standard/var/www/mynode/settings.py index 0d7cc36a..b9d73df7 100644 --- a/rootfs/standard/var/www/mynode/settings.py +++ b/rootfs/standard/var/www/mynode/settings.py @@ -792,6 +792,7 @@ def reinstall_app_page(): "title": "myNode Install", "header_text": "Installing", "subheader_text": "This may take a while...", + "show_upgrade_log": True, "ui_settings": read_ui_settings() } return render_template('reboot.html', **templateData)