vscode does not install requested extensions on image build - visual-studio-code

We have followed this guide to set up a minimal example which shows that currently in our setup extensions are not automatically installed when a development container is built.
The .devcontainer.json specifies that golang.go and ms-python.python should be installed on container build.
{
"name": "Container 1",
"dockerComposeFile": ["../docker-compose.yml"],
"service": "container-1",
"shutdownAction": "none",
"extensions": [
"golang.go",
"ms-python.python"
],
// Open the sub-folder with the source code
"workspaceFolder": "/workspace/container1-src",
}
While the extensions seem to get cached, they are not finally installed (usable). Here is an extract of the log
[23638 ms] 861598b8-962e-4242-883b-0c2e172dc4e0
[23638 ms]
[23639 ms] Start: Starting VS Code Server
[23640 ms] Start: Preparing Extensions
[23641 ms] Start: Run in container: test ! -f '/root/.vscode-server-insiders/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-insiders/data/Machine' && { > '/root/.vscode-server-insiders/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[23652 ms]
[23653 ms]
[23660 ms] Extensions cache, install extensions: ms-python.python, golang.go, vscode.python, ms-python.vscode-pylance, ms-toolsai.jupyter, ms-python.pylint
[23661 ms] Start: Run in container: test -d /root/.vscode-server-insiders/extensionsCache && ls /root/.vscode-server-insiders/extensionsCache || true
[23666 ms]
[23666 ms]
[23670 ms] Extensions cache, copy to remote: ms-python.python-2022.4.1, ms-python.vscode-pylance-2022.4.0, ms-toolsai.jupyter-2022.3.1000901801, ms-toolsai.jupyter-keymap-1.0.0, ms-toolsai.jupyter-renderers-1.0.6
[23798 ms] Start: Run in container: # Copy extensions to remote
[24013 ms] /root
[24013 ms]
[24013 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-525ff14d87410cce22568eada8e775519d4c39e6.js' >/tmp/vscode-remote-containers-525ff14d87410cce22568eada8e775519d4c39e6.js
[24128 ms]
[24129 ms]
[24130 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-525ff14d87410cce22568eada8e775519d4c39e6.js' >/tmp/vscode-remote-containers-server-525ff14d87410cce22568eada8e775519d4c39e6.js_1658149613876
[24152 ms]
[24153 ms]
[24435 ms] userEnvProbe PATHs:
Probe: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[24474 ms]
[24475 ms]
[24476 ms] Start: Run in Host: docker exec -i -u root -e SHELL=/bin/bash -e VSCODE_AGENT_FOLDER=/root/.vscode-server-insiders -w /root/.vscode-server-insiders/bin/1cd90cceddf3c413673963ab6f154d2ff294b17c-insider 0e72ac2aff313c24e70caa3b5b9d74428f7be41d6d00acc414dc4339e84ff807 /root/.vscode-server-insiders/bin/1cd90cceddf3c413673963ab6f154d2ff294b17c-insider/bin/code-server-insiders --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-insiders --use-host-proxy --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-insiders/data/Machine/.connection-token-1cd90cceddf3c413673963ab6f154d2ff294b17c-insider --extensions-download-dir /root/.vscode-server-insiders/extensionsCache --install-extension ms-python.python --install-extension golang.go --install-extension vscode.python --install-extension ms-python.vscode-pylance --install-extension ms-toolsai.jupyter --install-extension ms-python.pylint --start-server --disable-websocket-compression
...
...
25393 ms] Installing extensions...
[25400 ms] [13:06:55] Extension host agent started.
[25517 ms] Port forwarding 63455 > 34827 > 34827 stderr: Connection established
[25601 ms] Port forwarding connection from 63459 > 34827 > 34827 in the container.
[25602 ms] Start: Run in Host: docker exec -i -u root -e VSCODE_REMOTE_CONTAINERS_SESSION=966c34aa-e1b8-4837-bd34-7dcc777a8ac81658149588164 0e72ac2aff313c24e70caa3b5b9d74428f7be41d6d00acc414dc4339e84ff807 /root/.vscode-server-insiders/bin/1cd90cceddf3c413673963ab6f154d2ff294b17c-insider/node -e
[25705 ms] [13:06:55] ComputeTargetPlatform: linux-x64
[25960 ms] [13:06:55] [127.0.0.1][831a8c84][ManagementConnection] New connection established.
[26132 ms] Port forwarding 63459 > 34827 > 34827 stderr: Connection established
[26388 ms] [13:06:56] [127.0.0.1][5655a2f8][ExtensionHostConnection] New connection established.
[26425 ms] [13:06:56] [127.0.0.1][5655a2f8][ExtensionHostConnection] <250> Launched Extension Host Process.
[32331 ms] [13:07:02] Getting Manifest... ms-vscode.vscode-js-profile-table
[33009 ms] [13:07:02] Installing extension: ms-vscode.vscode-js-profile-table
[13:07:02] Installing the extension without checking dependencies and pack ms-vscode.vscode-js-profile-table
[33131 ms] [13:07:02] Extracted extension to /root/.vscode-server-insiders/extensions/.1eafe36a-5761-4868-8244-3416d12fa1b5: ms-vscode.vscode-js-profile-table
[33138 ms] [13:07:02] Renamed to /root/.vscode-server-insiders/extensions/ms-vscode.vscode-js-profile-table-1.0.3
[33142 ms] [13:07:02] Extracting completed. ms-vscode.vscode-js-profile-table
[33143 ms] [13:07:02] Extension installed successfully: ms-vscode.vscode-js-profile-table
[34480 ms] Extensions cache, remote removals: None
[94501 ms] Extensions cache, remote removals: None
[154508 ms] Extensions cache, remote removals: None
[214520 ms] Extensions cache, remote removals: None
[274526 ms] Extensions cache, remote removals: None
[334542 ms] Extensions cache, remote removals: None
Only one package is installed on image build.
Our setup:
Corporate laptop behind a firewall (zscalar) with docker for windows. Installing packages via GUI works without a problem both locally and inside the container.
We have tried this on stable and insiders. Also we have tried from plain windows and wsl.
Any ideas?

This github issue outlines the solution. While I was not getting self signed certificate in certificate chain errors in the console, adding the zscalar.crt in NODE_EXTRA_CA_CERTS resolved the issue. Extensions are now installing as expected.
I still face a similar issue with another proxy setup and cannot get it to work. Overall the extension installation seems to be very sensitive to certificates and it is still not clear to me if there is a better logging somewhere.

Related

Unable to clone Private Git Repo in VS Code Remote Container

I have a VM running RedHat 8.6, which is running multiple LXC containers, each with Ubuntu 22.04 installed.
The RedHat VM is used as a SSH proxy to get to the LXC Containers. There are approx 10 developers in my team, each developer has their own LXC Container.
An example VS Code SSH Configuration is as follows
IdentityFile c:\users\simon.carr2\.ssh\id_ed25519
Host jump-box
HostName 10.15.236.74
IdentityFile c:\users\simon.carr2\.ssh\id_ed25519
User bob
Host container
HostName 10.36.165.29
User bob
IdentityFile c:\users\simon.carr2\.ssh\id_ed25519
ProxyCommand ssh -q -W %h:%p jump-box
I can connect to the Host called container (which is proxied through jump-box)
Once connected, in VSCode, I try to Clone Repository in Container Volume
When prompted I put the https link to my on-prem private repo (Running in GitLab)
But I am given the following error in the terminal
[85754 ms] Dev Containers 0.266.1 in VS Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91).
[85754 ms] Start: Run: ssh container /bin/sh
[85784 ms] Start: Run in host: id -un
[87248 ms] bob
[87249 ms]
[87251 ms] Start: Run in host: cat /etc/passwd
[87310 ms] Start: Run in host: echo ~
[87421 ms] /home/bob
[87422 ms]
[87424 ms] Start: Run in host: test -x '/home/bob/.vscode-remote-containers/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node'
[87546 ms]
[87547 ms]
[87547 ms] Exit code 1
[87548 ms] Start: Run in host: test -x '/home/bob/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node'
[87654 ms]
[87655 ms]
[87656 ms] Start: Run in host: test -f '/home/bob/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node_modules/node-pty/package.json'
[87761 ms]
[87761 ms]
[87761 ms] Start: Run in host: test -f '/home/bob/.vscode-remote-containers/dist/vscode-remote-containers-server-0.266.1.js'
[87865 ms]
[87866 ms]
[87898 ms] userEnvProbe: loginInteractiveShell (default)
[87899 ms] userEnvProbe shell: /bin/bash
[88078 ms] userEnvProbe PATHs:
Probe: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
Container: None
[88188 ms] Start: Run in Host: docker version --format {{.Server.APIVersion}}
[88422 ms] 1.41
[101518 ms] Start: Run in Host: git ls-remote https://gitlab.mydomain.net/gitlab-instance-eb474769/syclops-gui.git
[101724 ms]
[101725 ms] fatal: could not read Username for 'https://gitlab.mydomain.net': No such device or address
[101725 ms] Exit code 128
How do I get VSCode to prompt me for Git Credentials?

VSCode | The editor cannot be opened due to an unexpected error

Goal: Get regular Bash and Git in Terminal working for Python projects in Visual Studio Code.
Anytime I launch, I see this error. I cannot open code or use Terminal.
Error Message:
The editor cannot be opened due to an unexpected error: No file system provider found for resource 'vscode-remote://wsl%2Bubuntu/...'
Update: Uninstalled WSL. I no longer have the below old Terminal output.
Terminal:
[2022-06-13 15:53:18.277] Resolving wsl+ubuntu, resolveAttempt: 1
[2022-06-13 15:53:18.361] Starting VS Code Server inside WSL (wsl1)
[2022-06-13 15:53:18.361] Extension version: 0.66.3
[2022-06-13 15:53:18.361] Windows build: 19044. Multi distro support: available. WSL path support: enabled
[2022-06-13 15:53:18.361] No shell environment set or found for current distro.
[2022-06-13 15:53:18.546] WSL daemon log file:
[2022-06-13 15:53:18.548] Probing if server is already installed: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e sh -c "[ -d ~/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 ] && printf found || ([ -f /etc/alpine-release ] && printf alpine-; uname -m)"
[2022-06-13 15:53:19.023] Probing result: x86_64
[2022-06-13 15:53:19.024] No server install found in WSL, needs linux-x64
[2022-06-13 15:53:19.024] Downloading server on client side to C:\Users\dabell\AppData\Local\Temp\vscode-remote-wsl\c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5\vscode-server-stable-linux-x64.tar.gz.
[2022-06-13 15:53:19.024] https://update.code.visualstudio.com/commit:c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/server-linux-x64/stable
[2022-06-13 15:53:26.719] Unable to download server on client side: Error: Request downloadRequest failed with message: getaddrinfo ENOTFOUND update.code.visualstudio.com. Will try to download on WSL side.
[2022-06-13 15:53:26.721] Launching C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=1433349295-3472956524-2784734323-674824766 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2022-06-13 15:53:27.103] Setting up server environment: Looking for /home/danielbellhv/.vscode-server/server-env-setup. Not found.
[2022-06-13 15:53:27.104] WSL version: 4.4.0-19041-Microsoft Ubuntu
[2022-06-13 15:53:27.104] Updating VS Code Server to version c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
[2022-06-13 15:53:27.104] Removing previous installation...
[2022-06-13 15:53:27.104] Installing VS Code Server for x64 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5)
[2022-06-13 15:53:27.104] Downloading:
[2022-06-13 15:53:37.329] 100%
[2022-06-13 15:53:37.329] Failed
[2022-06-13 15:53:37.331] --2022-06-13 16:53:37-- https://update.code.visualstudio.com/commit:c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/server-linux-x64/stable
[2022-06-13 15:53:37.331] Resolving update.code.visualstudio.com (update.code.visualstudio.com)...
[2022-06-13 15:53:47.093] failed: Temporary failure in name resolution.
[2022-06-13 15:53:47.093] wget: unable to resolve host address ‘update.code.visualstudio.com’
[2022-06-13 15:53:47.093] ERROR: Failed to download https://update.code.visualstudio.com/commit:c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/server-linux-x64/stable to /home/danielbellhv/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5-1655135606.tar.gz
[2022-06-13 15:53:47.094] VS Code Server for WSL closed unexpectedly.
[2022-06-13 15:53:47.094] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2022-06-13 15:53:47.116] WSL Daemon exited with code 0
This can be solved by restarting the WSL container's network.
Open Powershell from in Windows and type the following command:
Restart-Service LxssManager
I would advise saving it to a script such as restart-WSL-network.ps1 and setting up a shortcut to run this when it happens again.
I'm kind of late to the party, but I've just had this issue today. I only restarted Windows, and now it works fine!
Deleting the .vscode* folders in the home directory (in wsl) fixed the issue
running wsl --shutdown from windows command line and relaunch the vscode solved my issue.
I simply uninstalled and reinstalled WSL 2, from Windows Store.
You can via. command line, but I found using Windows Store to be more accessible / user friendly.

Having an erro when executing flutter run

Im stuck at this problem for a week, can anyone explain to me why i cant run a flutter app either vscode or android studio. I already install all the requirements such as: sdk,ndk,emulator but i still got this problem
-
[ +23 ms] executing:
[C:\Users\hp\Desktop\Flutter\hello_world\android/]
C:\Users\hp\Desktop\Flutter\hello_world\android\gradlew.bat
-Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib\main.dart -Ptrack-widget-creation=true -Ptree-shake-icons=true bundleRelease [+12053 ms] Observed package id 'system-images;android-28;google_ndk_playstore;x86' in inconsistent
location
'C:\Users\hp\AppData\Local\Android\sdk\system-images\android-28\google_apis_playstore\x86'
(Expected
'C:\Users\hp\AppData\Local\Android\sdk\system-images\android-28\google_ndk_playstore\x86')
[+1115 ms] IOException:
https://dl.google.com/android/repository/addons_list-3.xml [ +6 ms]
java.net.ConnectException: Connection refused: connect [+1226 ms]
IOException:
https://dl.google.com/android/repository/addons_list-2.xml [ +5 ms]
java.net.ConnectException: Connection refused: connect [+1166 ms]

Azure App Service : deployment using pipelines: EnvironmentError: [Errno 28] No space left on device

Introduction
Hi, I am deploying a Python-Flask application on the Azure App Service for months.
Today I got the following error message while running my pipeline running on Microsoft DevOps:
ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device: '/tmp/8d876019152941b/antenv/lib/python3.8/site-packages/numpy-1.18.1.dist-info'
I got the error on other apps stored on the same Plan. All my apps can't be updated anymore
what did I try
I created a new app and deployed the same code.
I got the same error :
Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/REDACTED.zip (246.59 MB) to /tmp/zipdeploy/extracted
No space left on device
##[error]Failed to deploy web package to App Service.
The plan states that my threshold quota is 10 Gb and that I use 936Mb or 9% of my quota !
Using 'df-h' by using Kundu Bash
> Filesystem Size Used Avail Use% Mounted on
> none 29G 27G 0 100% /
> tmpfs 64M 0 64M 0% /dev
> tmpfs 953M 0 953M 0% /sys/fs/cgroup
> shm 62M 0 62M 0% /dev/shm
> //REDACTED/ 1000G 9.7G 991G 1% /home
> /dev/sda1 27G 8.6G 18G 34% /appsvctmp
> /dev/loop6p1 29G 27G 0 100% /etc/hosts
> udev 920M 0 920M 0% /dev/tty
> tmpfs 953M 0 953M 0% /proc/acpi
> tmpfs 953M 0 953M 0% /proc/scsi
> tmpfs 953M 0 953M 0% /sys/firmware
The question
What should I do to work again?
I can't access the /dev/loop6p1 directory (what is it?) and delete files
the Azure pipelines logs
> 2020-10-21 ##[section]Starting: Deploy Azure Web App : www.alt-f1.be
> 2020-10-21 ==============================================================================
> 2020-10-21 Task : Azure Web App
> 2020-10-21 Description : Deploy an Azure Web App for Linux or Windows
> 2020-10-21 Version : 1.168.3
> 2020-10-21 Author : Microsoft Corporation
> 2020-10-21 Help : https://aka.ms/azurewebapptroubleshooting
> 2020-10-21 ==============================================================================
> 2020-10-21 Got service connection details for Azure App Service:'www.alt-f1.be'
> 2020-10-21 Package deployment using ZIP Deploy initiated.
> 2020-10-21 Updating submodules.
> 2020-10-21 Preparing deployment for commit id '1ea14e5515'.
> 2020-10-21 Repository path is /tmp/zipdeploy/extracted
> 2020-10-21 Running oryx build...
> 2020-10-21 Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.8 -i /tmp/8d876019152941b -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log
> 2020-10-21 Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
> 2020-10-21 You can report issues at https://github.com/Microsoft/Oryx/issues
> 2020-10-21
> 2020-10-21 Oryx Version: 0.2.20200917.1, Commit: 59deb778658a124cb74ea8e2c8f39fa87abcc9d9, ReleaseTagName: 20200917.1
> 2020-10-21
> 2020-10-21 Build Operation ID: |18pOsx/PQ8Y=.d0555319_
> 2020-10-21 Repository Commit : 1ea14e5515974a80bdcdc28eac749d4f
> 2020-10-21
> 2020-10-21 Detecting platforms...
> 2020-10-21 Detected following platforms:
> 2020-10-21 nodejs: 12.18.3
> 2020-10-21 python: 3.8.5
> 2020-10-21
> 2020-10-21 Using intermediate directory '/tmp/8d876019152941b'.
> 2020-10-21
> 2020-10-21 Copying files to the intermediate directory...
> 2020-10-21 Done in 6 sec(s).
> 2020-10-21
> 2020-10-21 Source directory : /tmp/8d876019152941b
> 2020-10-21 Destination directory: /home/site/wwwroot
> 2020-10-21
> 2020-10-21 Python Version: /opt/python/3.8.5/bin/python3.8
> 2020-10-21 Python Virtual Environment: antenv
> 2020-10-21 Creating virtual environment...
> 2020-10-21 Activating virtual environment...
> 2020-10-21 Running pip install...
> 2020-10-21 [20:41:33+0000] Collecting altf1be_helpers==2.1.4
> 2020-10-21 [20:41:33+0000] Downloading altf1be_helpers-2.1.4-py2.py3-none-any.whl (14 kB)
...
> 2020-10-21 [20:44:13+0000] Installing collected packages: numpy, six, python-dateutil, pytz, pandas, certifi, urllib3, idna, chardet, requests, isodate, oauthlib, requests-oauthlib, msrest, azure-core, pycparser, cffi, cryptography, azure-storage-blob, Unidecode, altf1be-helpers, attrs, Babel, pyparsing, packaging, > webencodings, bleach, cachelib, click, dash-core-components, dash-html-components, dash-table, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, brotli, Flask-Compress, retrying, plotly, dash-renderer, future, dash, docopt, docutils, Flask-Babel, Flask-Session, SQLAlchemy, Flask-SQLAlchemy, gunicorn, zipp, importlib-metadata, jeepney, > SecretStorage, keyring, more-itertools, yarg, pipreqs, pkginfo, pluggy, py, Pygments, pyodbc, pyopenssl, wcwidth, pytest, python-dotenv, readme-renderer, requests-toolbelt, starkbank-ecdsa, python-http-client, sendgrid, tqdm, twine, WTForms, xlrd, XlsxWriter
> 2020-10-21 ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device: '/tmp/8d876019152941b/antenv/lib/python3.8/site-packages/numpy-1.18.1.dist-info'
> 2020-10-21
> 2020-10-21 WARNING: You are using pip version 20.1.1; however, version 20.2.4 is available.
> 2020-10-21 You should consider upgrading via the '/tmp/8d876019152941b/antenv/bin/python -m pip install --upgrade pip' command.
> 2020-10-21 ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device: '/tmp/8d876019152941b/antenv/lib/python3.8/site-packages/numpy-1.18.1.dist-info'\n\nWARNING: You are using pip version 20.1.1; however, version 20.2.4 is available.\nYou should consider upgrading via the '/tmp/> 8d876019152941b/antenv/bin/python -m pip install --upgrade pip' command.\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.8 -i /tmp/8d876019152941b -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log
> 2020-10-21 ##[error]Failed to deploy web package to App Service.
> 2020-10-21 ##[error]To debug further please check Kudu stack trace URL : https://$www.alt-f1.be:***#www.alt-f1.be.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
> 2020-10-21 ##[error]Error: Package deployment using ZIP Deploy failed. Refer logs for more details.
> 2020-10-21 Successfully updated deployment History at https://www.alt-f1.be.scm.azurewebsites.net/api/deployments/2571603313079929
> 2020-10-21 App Service Application URL: https://www.alt-f1.be.azurewebsites.net
> 2020-10-21 ##[section]Finishing: Deploy Azure Web App : www.alt-f1.be
Conclusion
My plan is completely blocked. It is not possible to deploy any version of my code anymore.
#Abdelkrim, Microsoft-hosted agents provides 10 GB of storage for your source and build outputs- here - All the WebApps under Azure App Service plan shares resources.
If your source code and build outputs are more then 10GB, I suggest you to run your build using the Self Hosted Agent. For the python storage issue, you may try clearing the cache using the below command once and see if that helps.
--> pip install --no-cache-dir tensorflow-gpu
Also just to isolate, the error is likely for hitting the temp (in your table shows 100% usage) -This a partition separate from your disk space. It is used for docker operations like unpacking/writing that require a temporary directory to offload files during processing.
-When the integrated pipeline is used, it goes though webengine code which doesn't support more than 2 GB content-length.
In regards to drive access: - Looks like you're reviewing the App Service Plan storage space vs Hosted agents limitation. Also, Linux apps in App Service run in their own containers. No access to the host operating system is allowed, you do have root access to the container. Likewise, for apps running in Windows containers, you have administrative access to the container but no access to the host operating system.
<<Added as an answer;from comments>>
I'm also facing the same issue and this is due because if you have enabled "SCM_DO_BUILD_DURING_DEPLOYMENT" or "ENABLE_ORYX_BUILD" and this uses tmp folder for deployment in which it is mounted on / directory and you don't have space to the deployment.
The best solution could be to upgrade the App service plan and that will resolve the issue

meteor-up deploy on Amazon EC not working, wait-for-mongo: failed to connect to [127.0.0.1:27017]

I have the following in my mup.json
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": true,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,
// WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
"nodeVersion": "0.10.43",
// Install PhantomJS in the server
"setupPhantom": false,
// Show a progress bar during the upload of the bundle to the server.
// Might cause an error in some rare cases if set to true, for instance in Shippable CI
"enableUploadProgressBar": true,
// Application name (No spaces)
"appName": "myapp",
// Location of app (local directory)
"app": "/path/to/myapp",
// Configure environment
"env": {
"PORT": 5555,
"ROOT_URL": "http://myserver.com"
},
I got this in the deploy log
Started TaskList: Deploy app 'myapp' (linux)
[myserver.com] - Uploading bundle
[myserver.com] - Uploading bundle: SUCCESS
[myserver.com] - Setting up Environment Variables
[myserver.com] - Setting up Environment Variables: SUCCESS
[myserver.com] - Invoking deployment process
[myserver.com] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
eding commands with `sudo`, or if
npm WARN deprecated on Windows, run them from an Administrator prompt.)
npm WARN deprecated
npm WARN deprecated If you're running the version of npm bundled with
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
npm WARN deprecated will be bundled with a version of npm#2, which has some small
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
npm WARN deprecated semver behavior.
npm WARN package.json meteor-dev-bundle#0.0.0 No description
npm WARN package.json meteor-dev-bundle#0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle#0.0.0 No README data
js-bson: Failed to load c++ bson extension, using pure JS version
/usr/lib/node_modules/wait-for-mongo/bin/wait-for-mongo:14
throw err;
^
Error: TIMEOUTED_WAIT_FOR_MONGO
at null._onTimeout (/usr/lib/node_modules/wait-for-mongo/lib/waitForMongo.js:20:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:121:15)
-----------------------------------STDOUT-----------------------------------
.1:27017]
wait-for-mongo: failed to connect to [127.0.0.1:27017]
wait-for-mongo: failed to connect to [127.0.0.1:27017]
wait-for-mongo: failed to connect to [127.0.0.1:27017]
wait-for-mongo: failed to connect to [127.0.0.1:27017]
when I ssh to the ec2 server and it looks like mongod is not started?
/opt/myapp$ ps -aux | grep mongod
ubuntu 9566 0.7 2.1 661524 22144 ? Sl 22:32 0:00 node /usr/bin/wait-for-mongo mongodb://127.0.0.1/myapp 300000
ubuntu 9569 0.0 0.0 10464 916 pts/0 S+ 22:33 0:00 grep --color=auto mongod
/opt/myapp$ mongo myapp
MongoDB shell version: 2.6.12
connecting to: myapp
2016-04-05T22:44:07.802+0000 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
2016-04-05T22:44:07.803+0000 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed
I'm not sure how to gain access to mongo on the server, given that I "handed over" responsibility to meteor-up with "setup-mongo":true.
Any ideas would be appreciated.
update
switched to mupx, and set "deployCheckWaitTime": 300 mongo is now loading correctly. But now I am getting this error:
/bundle/bundle/programs/server/node_modules/fibers/future.js:278
throw(ex);
^
MongoError: driver is incompatible with this server version
at Object.Future.wait (/bundle/bundle/programs/server/node_modules/fibers/future.js:398:15)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:790:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:635:1)
It seems to be related to these issues:
https://github.com/arunoda/meteor-up/issues/841
https://github.com/meteor/meteor/issues/5809
SOLVED
I must had incompatible versions on my system from using mup and also meteor create; meteor mongo earlier on the ec2 server. I linked /opt to an empty folder in a different partition (had space problems) and ran mupx setup/deploy again from scratch. This time it worked fine (with Meteor 1.3).
Strangely, I noticed there was no /opt/nodejs folder, which was probably a leftover from my first attempt with mup.
also, the docker daemon doesn't seem to be running, but I can connect to my mongoDB from an ssh session the mup way
$ mongo myapp // works fine
$ docker exec -it mongodb mongo myapp
Cannot connect to the Docker daemon. Is the docker daemon running on this host?