Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ELOOP: too many symbolic links encountered #35

Open
blueelvis opened this issue Jun 24, 2018 · 0 comments
Open

Error: ELOOP: too many symbolic links encountered #35

blueelvis opened this issue Jun 24, 2018 · 0 comments

Comments

@blueelvis
Copy link

Running Azure Web App for Containers with a custom image built for Drupal.

I am experimenting on some alternate deployment methods and when I am trying to push with each module, gulp theme files and composer modules, I am getting the following -

Command: bash deploy.sh
PHP deployment
Kudu sync from: '/home/site/repository' to: '/home/site/wwwroot'
Copying file: '.blackfire.yml'
Copying file: '.csslintrc'
Ignoring: .deployment
Copying file: '.editorconfig'
Copying file: '.eslintignore'
Copying file: '.eslintrc'
Copying file: '.eslintrc.json'
Copying file: '.gitattributes'
Copying file: '.htaccess'
Copying file: 'CHANGELOG.md'
Copying file: 'LICENSE.txt'
Copying file: 'README.md'
Copying file: 'autoload.php'
Copying file: 'composer.json'
Copying file: 'composer.lock'
Ignoring: deploy.sh
Copying file: 'example.gitignore'
Copying file: 'index.php'
Copying file: 'robots.txt'
Copying file: 'robots_block.txt'
Copying file: 'update.php'
Copying file: 'web.config'
Ignoring: .git
Copying file: '.githooks/pre-commit'
Copying file: 'core/.eslintignore'
Copying file: 'core/.eslintrc.json'
Copying file: 'core/.eslintrc.legacy.json'
Copying file: 'core/.eslintrc.passing.json'
Copying file: 'core/.gitignore'
Copying file: 'core/.stylelintrc.json'
Copying file: 'core/CHANGELOG.txt'
Copying file: 'core/COPYRIGHT.txt'
Copying file: 'core/INSTALL.mysql.txt'
Copying file: 'core/INSTALL.pgsql.txt'
Copying file: 'core/INSTALL.sqlite.txt'
Copying file: 'core/INSTALL.txt'
Copying file: 'core/LICENSE.txt'
Copying file: 'core/MAINTAINERS.txt'
Copying file: 'core/PATCHES.txt'
Copying file: 'core/UPDATE.txt'
Copying file: 'core/authorize.php'
Copying file: 'core/composer.json'
Copying file: 'core/core.api.php'
Copying file: 'core/core.libraries.yml'
Copying file: 'core/core.link_relation_types.yml'
Copying file: 'core/core.services.yml'
Copying file: 'core/globals.api.php'
Copying file: 'core/install.php'
Copying file: 'core/package.json'
Omitting next output lines...
Processed 2509 files...
Processed 4086 files...
Processed 5789 files...
Processed 7543 files...
Processed 9257 files...
Processed 11355 files...
Processed 13241 files...
Processed 14994 files...
Processed 16961 files...
Error: ELOOP: too many symbolic links encountered, stat '/home/site/wwwroot/themes/private_theme/node_modules/.bin/extract-zip'
An error has occurred during web site deployment.
Kudu Sync failed
\n/opt/Kudu/bin/Scripts/starter.sh bash deploy.sh

I checked the Jenkins job and I see that the files get uploaded to the repository properly but then this error occurs.

+ git push azure develop:master --verbose --progress -f
Pushing to <<redacted>>
Counting objects: 42286, done.
Delta compression using up to 2 threads.
Compressing objects:   0% (1/31463)   
Compressing objects:   1% (315/31463)   
Compressing objects:   2% (630/31463)   
Compressing objects:   3% (944/31463)   
Compressing objects:   4% (1259/31463)   
Compressing objects:   5% (1574/31463)   
Compressing objects:   6% (1888/31463)   
Compressing objects:   7% (2203/31463)   
Compressing objects:   8% (2518/31463)   
Compressing objects:   9% (2832/31463)   
Compressing objects:  10% (3147/31463)   
Compressing objects:  11% (3461/31463)   
Compressing objects:  12% (3776/31463)   
Compressing objects:  13% (4091/31463)   
Compressing objects:  14% (4405/31463)   
Compressing objects:  15% (4720/31463)   
Compressing objects:  16% (5035/31463)   
Compressing objects:  17% (5349/31463)   
Compressing objects:  18% (5664/31463)   
Compressing objects:  19% (5978/31463)   
Compressing objects:  20% (6293/31463)   
Compressing objects:  21% (6608/31463)   
Compressing objects:  22% (6922/31463)   
Compressing objects:  23% (7237/31463)   
Compressing objects:  24% (7552/31463)   
Compressing objects:  25% (7866/31463)   
Compressing objects:  26% (8181/31463)   
Compressing objects:  27% (8496/31463)   
Compressing objects:  28% (8810/31463)   
Compressing objects:  29% (9125/31463)   
Compressing objects:  30% (9439/31463)   
Compressing objects:  31% (9754/31463)   
Compressing objects:  32% (10069/31463)   
Compressing objects:  33% (10383/31463)   
Compressing objects:  34% (10698/31463)   
Compressing objects:  35% (11013/31463)   
Compressing objects:  36% (11327/31463)   
Compressing objects:  37% (11642/31463)   
Compressing objects:  38% (11956/31463)   
Compressing objects:  39% (12271/31463)   
Compressing objects:  40% (12586/31463)   
Compressing objects:  41% (12900/31463)   
Compressing objects:  42% (13215/31463)   
Compressing objects:  43% (13530/31463)   
Compressing objects:  44% (13844/31463)   
Compressing objects:  45% (14159/31463)   
Compressing objects:  46% (14473/31463)   
Compressing objects:  47% (14788/31463)   
Compressing objects:  48% (15103/31463)   
Compressing objects:  49% (15417/31463)   
Compressing objects:  50% (15732/31463)   
Compressing objects:  51% (16047/31463)   
Compressing objects:  52% (16361/31463)   
Compressing objects:  53% (16676/31463)   
Compressing objects:  54% (16991/31463)   
Compressing objects:  55% (17305/31463)   
Compressing objects:  56% (17620/31463)   
Compressing objects:  57% (17934/31463)   
Compressing objects:  58% (18249/31463)   
Compressing objects:  59% (18564/31463)   
Compressing objects:  60% (18878/31463)   
Compressing objects:  61% (19193/31463)   
Compressing objects:  62% (19508/31463)   
Compressing objects:  63% (19822/31463)   
Compressing objects:  64% (20137/31463)   
Compressing objects:  65% (20451/31463)   
Compressing objects:  66% (20766/31463)   
Compressing objects:  67% (21081/31463)   
Compressing objects:  68% (21395/31463)   
Compressing objects:  69% (21710/31463)   
Compressing objects:  70% (22025/31463)   
Compressing objects:  71% (22339/31463)   
Compressing objects:  72% (22654/31463)   
Compressing objects:  73% (22968/31463)   
Compressing objects:  74% (23283/31463)   
Compressing objects:  75% (23598/31463)   
Compressing objects:  76% (23912/31463)   
Compressing objects:  77% (24227/31463)   
Compressing objects:  78% (24542/31463)   
Compressing objects:  79% (24856/31463)   
Compressing objects:  80% (25171/31463)   
Compressing objects:  81% (25486/31463)   
Compressing objects:  82% (25800/31463)   
Compressing objects:  83% (26115/31463)   
Compressing objects:  84% (26429/31463)   
Compressing objects:  85% (26744/31463)   
Compressing objects:  86% (27059/31463)   
Compressing objects:  87% (27373/31463)   
Compressing objects:  88% (27688/31463)   
Compressing objects:  89% (28003/31463)   
Compressing objects:  90% (28317/31463)   
Compressing objects:  91% (28632/31463)   
Compressing objects:  92% (28946/31463)   
Compressing objects:  93% (29261/31463)   
Compressing objects:  94% (29576/31463)   
Compressing objects:  95% (29890/31463)   
Compressing objects:  96% (30205/31463)   
Compressing objects:  97% (30520/31463)   
Compressing objects:  98% (30834/31463)   
Compressing objects:  99% (31149/31463)   
Compressing objects: 100% (31463/31463)   
Compressing objects: 100% (31463/31463), done.
Writing objects:   0% (1/42286)   
Writing objects:   1% (423/42286)   
Writing objects:   2% (846/42286)   
Writing objects:   3% (1269/42286)   
Writing objects:   4% (1692/42286)   
Writing objects:   5% (2115/42286)   
Writing objects:   6% (2538/42286)   
Writing objects:   7% (2961/42286)   
Writing objects:   8% (3383/42286)   
Writing objects:   9% (3806/42286)   
Writing objects:  10% (4229/42286)   
Writing objects:  11% (4652/42286)   
Writing objects:  12% (5075/42286)   
Writing objects:  13% (5498/42286)   
Writing objects:  14% (5921/42286)   
Writing objects:  15% (6343/42286)   
Writing objects:  16% (6766/42286)   
Writing objects:  17% (7189/42286)   
Writing objects:  18% (7612/42286)   
Writing objects:  19% (8035/42286)   
Writing objects:  20% (8458/42286)   
Writing objects:  21% (8881/42286)   
Writing objects:  22% (9303/42286)   
Writing objects:  23% (9726/42286)   
Writing objects:  24% (10149/42286)   
Writing objects:  25% (10572/42286)   
Writing objects:  26% (10995/42286)   
Writing objects:  27% (11418/42286)   
Writing objects:  28% (11841/42286)   
Writing objects:  29% (12263/42286)   
Writing objects:  30% (12686/42286)   
Writing objects:  31% (13109/42286)   
Writing objects:  32% (13532/42286)   
Writing objects:  33% (13955/42286)   
Writing objects:  34% (14378/42286)   
Writing objects:  35% (14801/42286)   
Writing objects:  36% (15223/42286)   
Writing objects:  37% (15646/42286)   
Writing objects:  38% (16069/42286)   
Writing objects:  39% (16492/42286)   
Writing objects:  40% (16915/42286)   
Writing objects:  41% (17338/42286)   
Writing objects:  42% (17761/42286)   
Writing objects:  43% (18183/42286)   
Writing objects:  44% (18606/42286)   
Writing objects:  45% (19029/42286)   
Writing objects:  46% (19452/42286)   
Writing objects:  47% (19875/42286)   
Writing objects:  48% (20298/42286)   
Writing objects:  49% (20721/42286)   
Writing objects:  50% (21143/42286)   
Writing objects:  51% (21566/42286)   
Writing objects:  52% (21989/42286)   
Writing objects:  53% (22412/42286)   
Writing objects:  54% (22836/42286)   
Writing objects:  55% (23258/42286)   
Writing objects:  56% (23681/42286)   
Writing objects:  57% (24104/42286)   
Writing objects:  58% (24526/42286)   
Writing objects:  59% (24949/42286)   
Writing objects:  60% (25372/42286)   
Writing objects:  61% (25795/42286)   
Writing objects:  62% (26218/42286)   
Writing objects:  63% (26641/42286)   
Writing objects:  64% (27064/42286)   
Writing objects:  65% (27486/42286)   
Writing objects:  66% (27909/42286)   
Writing objects:  67% (28332/42286)   
Writing objects:  68% (28755/42286)   
Writing objects:  69% (29178/42286)   
Writing objects:  70% (29601/42286)   
Writing objects:  71% (30024/42286)   
Writing objects:  72% (30446/42286)   
Writing objects:  73% (30869/42286)   
Writing objects:  74% (31292/42286)   
Writing objects:  75% (31715/42286)   
Writing objects:  76% (32138/42286)   
Writing objects:  77% (32561/42286)   
Writing objects:  78% (32984/42286)   
Writing objects:  79% (33406/42286)   
Writing objects:  80% (33829/42286)   
Writing objects:  81% (34252/42286)   
Writing objects:  82% (34675/42286)   
Writing objects:  83% (35098/42286)   
Writing objects:  84% (35521/42286)   
Writing objects:  85% (35944/42286)   
Writing objects:  86% (36366/42286)   
Writing objects:  87% (36789/42286)   
Writing objects:  88% (37213/42286)   
Writing objects:  89% (37635/42286)   
Writing objects:  90% (38058/42286)   
Writing objects:  91% (38481/42286)   
Writing objects:  92% (38904/42286)   
Writing objects:  93% (39326/42286)   
Writing objects:  94% (39749/42286)   
Writing objects:  95% (40173/42286)   
Writing objects:  96% (40595/42286)   
Writing objects:  97% (41018/42286)   
Writing objects:  98% (41441/42286)   
Writing objects:  99% (41864/42286)   
Writing objects: 100% (42286/42286)   
Writing objects: 100% (42286/42286), 63.27 MiB | 0 bytes/s, done.
Total 42286 (delta 8098), reused 42286 (delta 8098)
POST git-receive-pack (66344309 bytes)
remote: Resolving deltas:   0% (0/8098)           
remote: Resolving deltas:   1% (82/8098)           
remote: Resolving deltas:   2% (163/8098)           
remote: Resolving deltas:   3% (243/8098)           
remote: Resolving deltas:   4% (325/8098)           
remote: Resolving deltas:   5% (408/8098)           
remote: Resolving deltas:   6% (486/8098)           
remote: Resolving deltas:   7% (569/8098)           
remote: Resolving deltas:   9% (797/8098)           
remote: Resolving deltas:  11% (908/8098)           
remote: Resolving deltas:  12% (1037/8098)           
remote: Resolving deltas:  13% (1059/8098)           
remote: Resolving deltas:  14% (1159/8098)           
remote: Resolving deltas:  15% (1226/8098)           
remote: Resolving deltas:  16% (1296/8098)           
remote: Resolving deltas:  17% (1379/8098)           
remote: Resolving deltas:  18% (1459/8098)           
remote: Resolving deltas:  19% (1541/8098)           
remote: Resolving deltas:  20% (1620/8098)           
remote: Resolving deltas:  21% (1701/8098)           
remote: Resolving deltas:  22% (1784/8098)           
remote: Resolving deltas:  23% (1863/8098)           
remote: Resolving deltas:  24% (1944/8098)           
remote: Resolving deltas:  25% (2025/8098)           
remote: Resolving deltas:  26% (2146/8098)           
remote: Resolving deltas:  27% (2187/8098)           
remote: Resolving deltas:  28% (2268/8098)           
remote: Resolving deltas:  29% (2349/8098)           
remote: Resolving deltas:  30% (2430/8098)           
remote: Resolving deltas:  31% (2517/8098)           
remote: Resolving deltas:  32% (2592/8098)           
remote: Resolving deltas:  33% (2674/8098)           
remote: Resolving deltas:  34% (2754/8098)           
remote: Resolving deltas:  35% (2837/8098)           
remote: Resolving deltas:  37% (3034/8098)           
remote: Resolving deltas:  38% (3083/8098)           
remote: Resolving deltas:  39% (3160/8098)           
remote: Resolving deltas:  40% (3240/8098)           
remote: Resolving deltas:  41% (3322/8098)           
remote: Resolving deltas:  42% (3406/8098)           
remote: Resolving deltas:  43% (3484/8098)           
remote: Resolving deltas:  44% (3564/8098)           
remote: Resolving deltas:  45% (3655/8098)           
remote: Resolving deltas:  46% (3726/8098)           
remote: Resolving deltas:  47% (3807/8098)           
remote: Resolving deltas:  48% (3888/8098)           
remote: Resolving deltas:  49% (3969/8098)           
remote: Resolving deltas:  50% (4049/8098)           
remote: Resolving deltas:  51% (4131/8098)           
remote: Resolving deltas:  52% (4217/8098)           
remote: Resolving deltas:  53% (4292/8098)           
remote: Resolving deltas:  54% (4373/8098)           
remote: Resolving deltas:  55% (4478/8098)           
remote: Resolving deltas:  56% (4559/8098)           
remote: Resolving deltas:  57% (4642/8098)           
remote: Resolving deltas:  58% (4697/8098)           
remote: Resolving deltas:  59% (4778/8098)           
remote: Resolving deltas:  60% (4860/8098)           
remote: Resolving deltas:  61% (4940/8098)           
remote: Resolving deltas:  62% (5021/8098)           
remote: Resolving deltas:  63% (5104/8098)           
remote: Resolving deltas:  64% (5184/8098)           
remote: Resolving deltas:  65% (5265/8098)           
remote: Resolving deltas:  66% (5345/8098)           
remote: Resolving deltas:  67% (5427/8098)           
remote: Resolving deltas:  68% (5507/8098)           
remote: Resolving deltas:  69% (5588/8098)           
remote: Resolving deltas:  70% (5669/8098)           
remote: Resolving deltas:  71% (5750/8098)           
remote: Resolving deltas:  72% (5831/8098)           
remote: Resolving deltas:  73% (5913/8098)           
remote: Resolving deltas:  74% (5993/8098)           
remote: Resolving deltas:  75% (6074/8098)           
remote: Resolving deltas:  76% (6156/8098)           
remote: Resolving deltas:  77% (6240/8098)           
remote: Resolving deltas:  78% (6317/8098)           
remote: Resolving deltas:  79% (6407/8098)           
remote: Resolving deltas:  80% (6481/8098)           
remote: Resolving deltas:  81% (6560/8098)           
remote: Resolving deltas:  82% (6641/8098)           
remote: Resolving deltas:  83% (6723/8098)           
remote: Resolving deltas:  84% (6803/8098)           
remote: Resolving deltas:  85% (6885/8098)           
remote: Resolving deltas:  86% (6967/8098)           
remote: Resolving deltas:  87% (7051/8098)           
remote: Resolving deltas:  88% (7129/8098)           
remote: Resolving deltas:  89% (7208/8098)           
remote: Resolving deltas:  90% (7290/8098)           
remote: Resolving deltas:  91% (7371/8098)           
remote: Resolving deltas:  92% (7454/8098)           
remote: Resolving deltas:  92% (7463/8098)           
remote: Resolving deltas:  93% (7533/8098)           
remote: Resolving deltas:  94% (7613/8098)           
remote: Resolving deltas:  95% (7701/8098)           
remote: Resolving deltas:  96% (7791/8098)           
remote: Resolving deltas:  97% (7857/8098)           
remote: Resolving deltas:  98% (7937/8098)           
remote: Resolving deltas:  99% (8018/8098)           
remote: Resolving deltas: 100% (8098/8098)           
remote: Resolving deltas: 100% (8098/8098), completed with 4 local objects.        
remote: Updating branch 'master'.        
remote: .....................................................................................................................................................        
remote: Updating submodules.        
remote: Preparing deployment for commit id 'b22ee61e9e'.        
remote: Running custom deployment command...        
remote: Running deployment command...        
remote: PHP deployment        
remote: Kudu sync from: '/home/site/repository' to: '/home/site/wwwroot'        
remote: Copying file: '.blackfire.yml'        
remote: Copying file: '.csslintrc'        
remote: Ignoring: .deployment        
remote: Copying file: '.editorconfig'        
remote: Copying file: '.eslintignore'        
remote: Copying file: '.eslintrc'        
remote: Copying file: '.eslintrc.json'        
remote: Copying file: '.gitattributes'        
remote: Copying file: '.htaccess'        
remote: Copying file: 'CHANGELOG.md'        
remote: Copying file: 'LICENSE.txt'        
remote: Copying file: 'README.md'        
remote: Copying file: 'autoload.php'        
remote: Copying file: 'composer.json'        
remote: Copying file: 'composer.lock'        
remote: Ignoring: deploy.sh        
remote: Copying file: 'example.gitignore'        
remote: Copying file: 'index.php'        
remote: Copying file: 'robots.txt'        
remote: Copying file: 'robots_block.txt'        
remote: Copying file: 'update.php'        
remote: Copying file: 'web.config'        
remote: Ignoring: .git        
remote: Copying file: '.githooks/pre-commit'        
remote: Copying file: 'core/.eslintignore'        
remote: Copying file: 'core/.eslintrc.json'        
remote: Copying file: 'core/.eslintrc.legacy.json'        
remote: Copying file: 'core/.eslintrc.passing.json'        
remote: Copying file: 'core/.gitignore'        
remote: Copying file: 'core/.stylelintrc.json'        
remote: Copying file: 'core/CHANGELOG.txt'        
remote: Copying file: 'core/COPYRIGHT.txt'        
remote: Copying file: 'core/INSTALL.mysql.txt'        
remote: Copying file: 'core/INSTALL.pgsql.txt'        
remote: Copying file: 'core/INSTALL.sqlite.txt'        
remote: Copying file: 'core/INSTALL.txt'        
remote: Copying file: 'core/LICENSE.txt'        
remote: Copying file: 'core/MAINTAINERS.txt'        
remote: Copying file: 'core/PATCHES.txt'        
remote: Copying file: 'core/UPDATE.txt'        
remote: Copying file: 'core/authorize.php'        
remote: Copying file: 'core/composer.json'        
remote: Copying file: 'core/core.api.php'        
remote: Copying file: 'core/core.libraries.yml'        
remote: Copying file: 'core/core.link_relation_types.yml'        
remote: Copying file: 'core/core.services.yml'        
remote: Copying file: 'core/globals.api.php'        
remote: Copying file: 'core/install.php'        
remote: Copying file: 'core/package.json'        
remote: Omitting next output lines...        
remote: ..............        
remote: Processed 2509 files...        
remote: ................        
remote: Processed 4086 files...        
remote: ...............        
remote: Processed 5789 files...        
remote: ................        
remote: Processed 7543 files...        
remote: ................        
remote: Processed 9257 files...        
remote: ................        
remote: Processed 11355 files...        
remote: ................        
remote: Processed 13241 files...        
remote: ................        
remote: Processed 14994 files...        
remote: ................        
remote: Processed 16961 files...        
remote: ....        
remote: Error: ELOOP: too many symbolic links encountered, stat '/home/site/wwwroot/themes/private_theme/node_modules/.bin/extract-zip'        
remote: An error has occurred during web site deployment.        
remote: Kudu Sync failed        
remote: 
remote: App container will begin restart within 10 seconds.        
remote: Error - Changes committed to remote repository but deployment to website failed. 

I think this is a Kudusync issue because when I ran cp repository/. wwwroot/ -pfr -v , it copied all the files without any issue.

Any idea what might be wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant