2018-11-19 12:54:59,178: WARNING - Installation of N - Node.js version management
2018-11-19 12:55:00,197: WARNING - 2018-11-19 12:55:00 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
2018-11-19 12:55:18,313: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
2018-11-19 12:55:57,822: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:55:57,826: WARNING - Unable to install dependencies
2018-11-19 12:55:57,827: WARNING - !!
2018-11-19 12:55:57,830: WARNING - peertube's script has encountered an error. Its execution was cancelled.
2018-11-19 12:55:57,831: WARNING - !!
2018-11-19 12:55:57,833: WARNING - Upgrade failed.
2018-11-19 12:56:04,615: WARNING - Removed /etc/systemd/system/multi-user.target.wants/peertube.service.
2018-11-19 12:56:24,631: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:56:34,969: WARNING - /usr/local/n wasn't deleted because it doesn't exist.
2018-11-19 12:56:36,375: WARNING - /var/www/peertube wasn't deleted because it doesn't exist.
2018-11-19 12:56:51,455: WARNING - Remove the user peertube
2018-11-19 12:58:43,560: WARNING - Installation of N - Node.js version management
2018-11-19 12:58:44,364: WARNING - 2018-11-19 12:58:44 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
2018-11-19 12:58:48,292: WARNING -
1.2%
### 5.4%
####### 9.7%
############### 22.1%
################ 23.0%
################ 23.4%
########################## 36.8%
################################# 46.5%
################################# 46.9%
####################################### 54.6%
################################################ 67.4%
################################################### 70.9%
################################################### 72.0%
######################################################## 78.5%
############################################################# 84.9%
################################################################# 91.3%
###################################################################### 97.8%
######################################################################## 100.0%
2018-11-19 12:58:51,305: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
2018-11-19 12:59:34,511: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:59:34,512: WARNING - Unable to install dependencies
2018-11-19 12:59:34,514: WARNING - !!
2018-11-19 12:59:34,515: WARNING - peertube's script has encountered an error. Its execution was cancelled.
2018-11-19 12:59:34,516: WARNING - !!
2018-11-19 12:59:34,517: WARNING -
2018-11-19 12:59:34,619: WARNING - Unable to restore the app 'peertube'
2018-11-19 12:59:56,838: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:59:58,249: WARNING - /usr/local/n wasn't deleted because it doesn't exist.
2018-11-19 12:59:58,250: WARNING - /etc/apt/sources.list.d/jessie-backports.list wasn't deleted because it doesn't exist.
2018-11-19 12:59:58,653: WARNING - dropdb: database removal failed: ERROR: database "peertube_prod" does not exist
2018-11-19 12:59:58,855: WARNING - dropuser: removal of role "peertube" failed: ERROR: role "peertube" does not exist
2018-11-19 13:00:16,852: WARNING - Remove the user peertube
2018-11-19 13:00:37,910: WARNING - Nothing has been restored
2018-11-19 13:00:38,011: WARNING - The app was restored to the way it was before the failed upgrade.
2018-11-19 13:00:38,170: ERROR - Unable to upgrade peertube
It seems that the rollback failed too. The site isn't available anymore and does not list in the yunohost admin interface.