Error deploying: mkdir: too many links

179 views
Skip to first unread message

Rick Aster

unread,
Jun 20, 2015, 9:03:16 PM6/20/15
to shinyap...@googlegroups.com
I am getting the following error when attempting to deploy:

Error: Unhandled Exception: Child Task 45535169 error: Unhandled Exception: mkdir /mnt/docker/volumes/3b42fb34cedbdb6f7a752d742ac90d4dfa183b353a8ad8e6b6ea660137eac92d: too many links

On another attempt the error message was:

Error: Unhandled Exception: Child Task 45531811 error: Unhandled Exception: mkdir /mnt/docker/volumes/0d65a16ad90577b75fcab557cfe941331b4f65fd91a6b0f38b03dd1844c9d60e: too many links

In either case it doesn't appear that the app was uploaded.


> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
Running under: OS X 10.10.2 (Yosemite)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets
[7] methods   base    

other attached packages:
 [1] shinyapps_0.4.1.2    slidify_0.4.5        rCharts_0.4.5      
 [4] yhat_2.0-0           UsingR_2.0-4         Hmisc_3.16-0       
 [7] ggplot2_1.0.0        Formula_1.2-1        survival_2.38-1    
[10] lattice_0.20-30      HistData_0.7-5       MASS_7.3-39        
[13] manipulate_0.98.1091 googleVis_0.5.8      reshape2_1.4.1     
[16] devtools_1.8.0       shiny_0.12.0       

loaded via a namespace (and not attached):
 [1] acepack_1.3-3.3     bitops_1.0-6        boot_1.3-15       
 [4] cluster_2.0.1       codetools_0.2-10    colorspace_1.2-4  
 [7] digest_0.6.8        evaluate_0.7        foreign_0.8-63    
[10] formatR_1.2         git2r_0.10.1        gridExtra_0.9.1   
[13] gtable_0.1.2        htmltools_0.2.6     httpuv_1.3.2      
[16] httr_0.5            jsonlite_0.9.16     knitr_1.10.5      
[19] latticeExtra_0.6-26 markdown_0.7.7      memoise_0.2.1     
[22] mime_0.3            miscTools_0.6-16    munsell_0.4.2     
[25] nnet_7.3-9          plotrix_3.5-12      plyr_1.8.2        
[28] proto_0.3-10        R6_2.0.1            RColorBrewer_1.1-2
[31] Rcpp_0.11.6         RCurl_1.95-4.6      RJSONIO_1.3-0     
[34] rmarkdown_0.7       rpart_4.1-9         rsconnect_0.3.79  
[37] rstudioapi_0.3.1    rversions_1.0.0     scales_0.2.4      
[40] splines_3.1.3       stringr_1.0.0       tools_3.1.3       
[43] whisker_0.3-2       XML_3.98-1.1        xtable_1.7-4      
[46] yacca_1.1           yaml_2.1.13       


Rick Aster

unread,
Jun 20, 2015, 9:08:38 PM6/20/15
to shinyap...@googlegroups.com

The identical function call worked just now, so it seems it was a short-term problem.

ronrest

unread,
Jun 21, 2015, 12:24:07 AM6/21/15
to shinyap...@googlegroups.com
As of about 5 hours ago several of the students from the Coursera Developing Data Products course have been experiencing the same error message. 

Using:
shinyapps::deployApp()

Gives the following error message:

Uploading bundle for application: 47762...DONE
Deploying bundle: 207260 for application: 47762 ...
Waiting for task: 45565994
  building
: Parsing manifest
  building
: Fetching packages
  error
: Installing packages
################################## Begin Log ##################################
################################### End Log ###################################
Error: Unhandled Exception: Child Task 45565995 error: Unhandled Exception: mkdir /mnt/docker/volumes/5976449d1fde0f0eb63ff5c83b67a295c79c7af62aefdda39e332c1fe465026a: too many links


The task and application numbers are different in each case, but the message is the same in each case. 

As with Rick Aster, Several of the students have reported that attempting to deploy the app again at a different time lets them publish without the error.
 
Elsewhere on the internet it suggests that the mkdir - too many links error message is related to there being too many subdirectories. There definitely isn't too many subdirectories in my shiny app (there is only one data subdirectory, and there are less than 10 files total in the app adding up to about 2Mb of space). 

Is it possible that more people signed up through www.shinyapps.io/coursera than expected, and too many subdirectories were created for their projects? 

Ronny.

DSeaman

unread,
Jun 21, 2015, 12:47:34 AM6/21/15
to shinyap...@googlegroups.com
I just wanted to add that I am one of the Coursera students having this issue.  


eaganan

unread,
Jun 21, 2015, 2:13:13 AM6/21/15
to shinyap...@googlegroups.com
Hi, I am a student of Coursera and I'm having a similar problem: mkdir too many links
errorShinyApps.PNG

José Carlos Ortiz Bayliss

unread,
Jun 21, 2015, 2:17:06 AM6/21/15
to shinyap...@googlegroups.com
Same problem in my case:

Preparing to deploy application...DONE
Uploading bundle for application: 47902...DONE
Deploying bundle: 207721 for application: 47902 ...
Waiting for task: 45588000
  building: Building image: 203641
  error: Installing packages
################################## Begin Log ################################## 
################################### End Log ################################### 
Error: Unhandled Exception: Child Task 45588001 error: Unhandled Exception: mkdir /mnt/docker/volumes/912a95e199fa59b969d55060e070b9e2708679d138371491425c773b1ceefc16: too many links

This is really frustrating.

Chris Caldwell

unread,
Jun 21, 2015, 3:47:25 AM6/21/15
to shinyap...@googlegroups.com
Im a Coursera student also facing this issue. Its worth noting that the issue is NOT on your local side, ie it doesnt matter how many folders you have on your hard-drive. Shinyapps.io is apparently setting up a new folder for you when you deploy, and the volume they store the account folders in is full. I expect anyone who has published previously can keep doing so, unless its project folders not account folders. Since you mention some students able to "get through" the error, this would suggest either they had a different issue or there are several volumes it may try to put your folder on and not all of them are full yet. I would suggest to the JH@Coursera staff that the solution is NOT to fail everyone who cant post, and to the students please dont just hammer away at shineyapps.io. This is a bug that they need to fix and waiting for that is the only real way around it.

Trimikha Valentius

unread,
Jun 21, 2015, 3:51:12 AM6/21/15
to shinyap...@googlegroups.com
I am Coursera user and having a same problem too
> shinyapps::deployApp()
Preparing to deploy application...DONE
Uploading bundle for application: 47948...DONE
Deploying bundle: 207897 for application: 47948 ...
Waiting for task: 45599708
  error: Installing packages
################################## Begin Log ################################## 
################################### End Log ################################### 
Error: Unhandled Exception: Child Task 45599709 error: Unhandled Exception: mkdir /mnt/docker/volumes/f7b31da5869707c32c4039011ae65411daa70b8a3f8caef5c230cd3c97a4f3bc: too many links

It is such a shame if we fail the course because of this bug.

Domenico Panetta

unread,
Jun 21, 2015, 5:02:31 AM6/21/15
to shinyap...@googlegroups.com
Similar problem for me:

Preparing to deploy application...
Update application currently deployed at
https
://dompan.shinyapps.io/mtcarsClustering? [Y/n]
y
DONE
Uploading bundle for application: 47977...DONE
Deploying bundle: 208087 for application: 47977 ...
Waiting for task: 45613586

  error
: Installing packages
################################## Begin Log ##################################
################################### End Log ###################################
Error: Unhandled Exception: Child Task 45613587 error: Unhandled Exception: mkdir /mnt/docker/volumes/255acbced304e72d292616ae334c93ddbb5992de8da2e9c05d441d9b03c21bc2: too many links

Rick Aster

unread,
Jun 21, 2015, 8:35:44 AM6/21/15
to shinyap...@googlegroups.com
I just wanted to add that there were multiple reports of the same error several hours ago, and by contrast, within the last hour at least three reports of successful deployment from users who had seen failures earlier.

Chad Barraford

unread,
Jun 21, 2015, 11:11:29 AM6/21/15
to Rick Aster, shinyap...@googlegroups.com
Sorry for the inconvience, this issue was resolved this morning at 7:10am EST. It was caused by hitting a limitation of the file system on a few our of our servers. Again, apologize for any inconvience this has caused. 

On Sun, Jun 21, 2015 at 8:35 AM, Rick Aster <aster...@gmail.com> wrote:
I just wanted to add that there were multiple reports of the same error several hours ago, and by contrast, within the last hour at least three reports of successful deployment from users who had seen failures earlier.

--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/9aa98172-8a77-46f6-a7b7-ffc7d4c3f19c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

ronrest

unread,
Jun 21, 2015, 3:56:15 PM6/21/15
to shinyap...@googlegroups.com, aster...@gmail.com
Awesome. Thanks Chad Barraford. 
Its working perfectly now, and just in time to hand in the Coursera assignment on time :)
Reply all
Reply to author
Forward
0 new messages