Fresh install on fresh VPS results in the following error using install script,
python install.py --production --version 11 --user USER
File "install.py", line 35
print("Install script run at {0} on {1}\n\n".format(execution_time, execution_day), file=log_stream)
Lines 30-35 are,
if not args.verbose:
if not os.path.exists(tmp_log_folder):
os.makedirs(tmp_log_folder)
log_stream = open(log_path, 'w')
log("Logs are saved under {0}".format(log_path), level=3)
print("Install script run at {0} on {1}\n\n".format(execution_time, execution_day), file=log_stream)
I think you need to use sudo for this (if you’re not logged in as root). You will also need to share/show more of the errors so that the community can see what’s happening
latest versions of easy install script runs only on Python 3 and running without root fails midway if user doesn’t have privileges or script isn’t run as root. Hence, the checks were added so to minimize chance of failures.