簡體   English   中英

將DSX-Desktop 1.2.0升級到1.2.2時出錯

[英]Errors upgrading DSX-Desktop 1.2.0 to 1.2.2

數據科學經驗,#DSX,#ibm-data-catalog,#ibm-data-refinery,#DSX-Desktop

我在RHEL 7.4 Linux下的Lenovo Thinkpad T440p上安裝了DSX-Desktop 1.2.0。 主屏幕指示“更新可用”。

當我選擇“ Linux更新”時,由於無法更新“ root”所有者擁有的/ usr / bin而失敗。 我可以在命令行通過Sudo切換到“ root”,但是不知道如何通過CLI調用更新。

這是DSX-Desktop.log文件:

[2018-02-26 12:07:26:0074] [debug] Initialized logger!
[2018-02-26 12:07:28:0533] [info] Version: 1.2.0
[2018-02-26 12:07:28:0533] [info] Operating System: Linux
[2018-02-26 12:07:28:0535] [info] InitialPage() container
[2018-02-26 12:07:28:0646] [info] Mounting Preferences
[2018-02-26 12:07:28:0685] [info] Render ToolsModal for 
[2018-02-26 12:07:28:0686] [info] false
[2018-02-26 12:07:28:0699] [info] Mounting UpdaterContainer
[2018-02-26 12:07:28:0705] [info] checking for updates....
[2018-02-26 12:07:28:0706] [info] Calling check for updates...
[2018-02-26 12:07:28:0706] [info] Checking for app updates...
[2018-02-26 12:07:28:0727] [info] Checking for image updates...
[2018-02-26 12:07:28:0734] [info] Render UpdaterModal
[2018-02-26 12:07:28:0735] [info] false
[2018-02-26 12:07:28:0989] [info] Checking docker and images on application start up.
[2018-02-26 12:07:28:0995] [info] The Projects are dsx-samples,defaultProject
[2018-02-26 12:07:29:0138] [info] Found version 1.2.2 at https://github.com/IBMDataScience/DSx-Desktop/releases/download/1.2.2/ibm-dsx-desktop.AppImage
[2018-02-26 12:07:29:0257] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0260] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0261] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0262] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0310] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0324] [info] Notebook updates not available...
[2018-02-26 12:07:29:0324] [info] dsxJSON is [object Object]
[2018-02-26 12:07:29:0325] [info] DSX updates not available...
[2018-02-26 12:07:29:0325] [info] util: emit update-not-available for image
[2018-02-26 12:07:29:0325] [info] controller: emit update-available
[2018-02-26 12:07:29:0334] [info] The updateAvailable is true
[2018-02-26 12:07:29:0336] [info] Render UpdaterModal
[2018-02-26 12:07:29:0336] [info] false
[2018-02-26 12:07:29:0346] [info] The updateAvailable is true
[2018-02-26 12:07:29:0353] [info] Render UpdaterModal
[2018-02-26 12:07:29:0353] [info] false
[2018-02-26 12:07:29:0356] [info] The updateAvailable is true
[2018-02-26 12:07:29:0356] [info] Render UpdaterModal
[2018-02-26 12:07:29:0356] [info] false
[2018-02-26 12:07:29:0357] [info] CONTAINER: Need to update app
[2018-02-26 12:07:39:0366] [info] dockerConfirm: true
[2018-02-26 12:07:39:0366] [info] Docker is up and running.
[2018-02-26 12:07:54:0501] [info] Calling download updates...
[2018-02-26 12:07:54:0501] [info] Downloading Updates...
[2018-02-26 12:07:54:0503] [info] Downloading updates from https://github.com/IBMDataScience/DSx-Desktop/releases/download/1.2.2/ibm-dsx-desktop.AppImage
[2018-02-26 12:07:54:0509] [warn] Cannot write to the directory /usr/bin
[2018-02-26 12:07:54:0512] [info] controller: emit update-downloading
[2018-02-26 12:07:54:0517] [info] Container:Update downloading
[2018-02-26 12:07:54:0521] [info] The updateAvailable is true
[2018-02-26 12:07:54:0522] [info] Render UpdaterModal
[2018-02-26 12:07:54:0522] [info] false
[2018-02-26 12:07:54:0537] [error] Cannot write to the directory /usr/bin
[2018-02-26 12:07:54:0548] [info] The updateAvailable is true
[2018-02-26 12:07:54:0549] [info] Render UpdaterModal
[2018-02-26 12:07:54:0549] [info] false
[2018-02-26 12:07:54:0551] [info] Set state visibleModal error
[2018-02-26 12:07:54:0553] [info] The updateAvailable is true
[2018-02-26 12:07:54:0554] [info] Render UpdaterModal
[2018-02-26 12:07:54:0554] [info] false
[2018-02-26 12:07:54:0621] [info] The updateAvailable is true
[2018-02-26 12:07:54:0622] [info] Render UpdaterModal
[2018-02-26 12:07:54:0622] [info] false
[2018-02-26 12:07:54:0626] [info] The updateAvailable is true
[2018-02-26 12:07:54:0630] [info] Render UpdaterModal
[2018-02-26 12:07:54:0630] [info] false

.AppImage ,一個應用程序更新僅下載最新的.AppImage並替換當前的.AppImage

您可以通過刪除現有的.AppImage然后從https://www.ibm.com/us-en/marketplace/data-science-experience/purchase#purchasing下載最新的.AppImage來完成相同的操作。

注意 :請勿通過設置頁面卸載DSX Desktop,因為它會刪除您安裝的所有docker映像(RStudio,Jupyter和Zeppelin)。 相反,只需刪除.AppImage

編輯 :我只是在日志中注意到這一點:

[2018-02-26 12:07:54:0537] [error] Cannot write to the directory /usr/bin

您是否將DSX Desktop放在/usr/bin 這可以解釋為什么該應用程序無法更新自身,因為它沒有寫該目錄的權限。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM