IBMDataScience/DSx-Desktop

Installation fails on macOS Sierra

Closed this issue · 5 comments

I'm trying to install IBM DSX Desktop 1.1.6 with Anaconda + Spark (Python 2.7/3.5, Scala, R) on macOS Sierra 10.12.6.
Installation fails during Extracting files.
Error Log:

[2017-09-09 13:13:56:0402] [info] tar file: /Users/USERNAME/Library/Application Support/ibm-dsx-desktop/anaconda_with_spark.tar.gz, imageName: anaconda_with_spark:v3
[2017-09-09 13:16:13:0214] [debug] runCommand: cat "/Users/USERNAME/Library/Application Support/ibm-dsx-desktop/anaconda_with_spark.tar.gz" \| docker import - anaconda_with_spark:v3
[2017-09-09 13:16:13:0215] [error] exec error: Error: Command failed: cat "/Users/USERNAME/Library/Application Support/ibm-dsx-desktop/anaconda_with_spark.tar.gz" \| docker import - anaconda_with_spark:v3
Error response from daemon: Error processing tar file(exit status 1): write /usr/local/texlive/2016/texmf-dist/doc/metapost/featpost/png/photorefer.1.png: no space left on device
cat: stdout: Broken pipe
[2017-09-09 13:16:13:0216] [error] stderr: Error response from daemon: Error processing tar file(exit status 1): write /usr/local/texlive/2016/texmf-dist/doc/metapost/featpost/png/photorefer.1.png: no space left on device
cat: stdout: Broken pipe
[2017-09-09 13:16:13:0216] [info] Anaconda + Spark (Python 2.7/3.5, Scala, R) installed:
[2017-09-09 13:16:13:0216] [error] Error while extracting Anaconda + Spark (Python 2.7/3.5, Scala, R) tar
[2017-09-09 13:16:13:0216] [info] notebook confirm failed

For the no space left on device errors, I checked and should have enough space to install:

df -h /usr/local/
Filesystem   Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1  465Gi  423Gi   42Gi    92% 3065101 4291902178    0%   /

Can you do a docker ps -a? How many other containers do you have running?

@sahilshah2211 I've run the docker stop command for the only running container I had so I shouldn't have any other containers running:

docker ps -a
CONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS                   PORTS               NAMES
3d142b8eda5c        ibmcom/cloudant-developer:2.0.0   "supervisord -c /e..."   5 months ago        Exited (0) 8 weeks ago                       cloudant-developer

Hi @emlaver, are you still experiencing this issue?

I believe it may be due to Docker running out of space (by default, Docker has 64GB of storage space). You can check how much you've used by entering docker system df in your terminal.

Moving forward, I recommend removing all the DSX images, uninstalling DSX Desktop, and installing the latest version.

Steps

  1. To remove an image, open a terminal and enter docker rmi <image name or ID>. To remove all the images at once, enter docker rmi -f $(docker images -q)
  2. Uninstall DSX Desktop by dragging the IBM DSX Desktop app from your Applications folder to the trash. Also remove some leftover files by opening a terminal and entering rm -rf ~/Library/Application\ Support/ibm-dsx-desktop/
  3. Download and install the latest version from here: https://www.ibm.com/account/reg/signup?formid=urx-32209

@jerry1100 Sorry for the delay. I was able to successfully install on version 1.2.2.