App stuck in the oven when deploying

My app is running fine locally. Also, it was actually running fine in the cloud. I deleted it and made some changes to the code (still running fine locally) and deployed and now it’s stuck in the oven.

Any help is appreciated!

Community Cloud had a deployment issue earlier today that should be resolved now. Have you tried rebooting or redeploying your app?

I have tried deleting and redeploying multiple times. No luck. I will keep trying and see if it’s resolved. Thank you!

I’m getting this error message in the log:
:exclamation: We have encountered an unexpected problem. If this issue persists, please contact support

If you have rebooted your app in the last 30 minutes, can you share the terminal output you are getting since that clean reboot (post Streamlit Cloud server fixes that happened this morning)? When you navigate to your app, there is a Manage App link in the lower right to open your terminal to get a clearer understanding of where/how it is getting stuck.

We’ll likely need a link to your repository to see your environment configuration files as well.

It seems to be stuck at: Collecting usage statistics


[     UTC     ] Logs for badi-jabbour-wellbeing-guide-app-xutpjw.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[22:09:20] 🖥 Provisioning machine...
[22:09:26] 🎛 Preparing system...
[22:09:32] ⛓ Spinning up manager process...
[22:09:23] 🚀 Starting up repository: 'wellbeing_guide', branch: 'main', main module: 'app.py'
[22:09:23] 🐙 Cloning repository...
[22:09:33] 🐙 Cloning into '/app/wellbeing_guide'...
Updating files:  60% (7899/12965)
Updating files:  61% (7909/12965)
Updating files:  62% (8039/12965)
Updating files:  63% (8168/12965)
Updating files:  64% (8298/12965)
Updating files:  65% (8428/12965)
Updating files:  66% (8557/12965)
Updating files:  67% (8687/12965)
Updating files:  68% (8817/12965)
Updating files:  69% (8946/12965)
Updating files:  70% (9076/12965)
Updating files:  71% (9206/12965)
Updating files:  72% (9335/12965)
Updating files:  73% (9465/12965)
Updating files:  74% (9595/12965)
Updating files:  75% (9724/12965)
Updating files:  76% (9854/12965)
Updating files:  77% (9984/12965)
Updating files:  78% (10113/12965)
Updating files:  79% (10243/12965)
Updating files:  80% (10372/12965)
Updating files:  81% (10502/12965)
Updating files:  82% (10632/12965)
Updating files:  83% (10761/12965)
Updating files:  84% (10891/12965)
Updating files:  85% (11021/12965)
Updating files:  86% (11150/12965)
Updating files:  87% (11280/12965)
Updating files:  88% (11410/12965)
Updating files:  89% (11539/12965)
Updating files:  90% (11669/12965)
Updating files:  91% (11799/12965)
Updating files:  92% (11928/12965)
Updating files:  93% (12058/12965)
Updating files:  94% (12188/12965)
Updating files:  95% (12317/12965)
Updating files:  96% (12447/12965)
Updating files:  97% (12577/12965)
Updating files:  98% (12706/12965)
Updating files:  99% (12836/12965)
Updating files: 100% (12965/12965)
Updating files: 100% (12965/12965), done.

[22:09:33] 🐙 Cloned repository!
[22:09:33] 🐙 Pulling code changes from Github...
[22:09:36] 📦 Processing dependencies...

──────────────────────────────────────── pip ───────────────────────────────────────────

Collecting altair==4.2.2
  Downloading altair-4.2.2-py3-none-any.whl (813 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 813.6/813.6 KB 22.4 MB/s eta 0:00:00[2023-02-06 22:09:37.458812] 
Collecting attrs==22.2.0
  Downloading attrs-22.2.0-py3-none-any.whl (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.0/60.0 KB 190.3 MB/s eta 0:00:00[2023-02-06 22:09:37.500804] 
Collecting blinker==1.5
  Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting cachetools==5.3.0
  Downloading cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting certifi==2022.12.7
  Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 KB 283.6 MB/s eta 0:00:00[2023-02-06 22:09:37.610081] 
Collecting charset-normalizer==3.0.1
  Downloading charset_normalizer-3.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 198.8/198.8 KB 301.8 MB/s eta 0:00:00[2023-02-06 22:09:37.703351] 
Collecting click==8.1.3
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 281.0 MB/s eta 0:00:00[2023-02-06 22:09:37.747675] 
Collecting contourpy==1.0.7
  Downloading contourpy-1.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.3/300.3 KB 285.8 MB/s eta 0:00:00[2023-02-06 22:09:37.860840] 
Collecting cycler==0.11.0
  Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting decorator==5.1.1
  Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting entrypoints==0.4
  Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting fonttools==4.38.0
  Downloading fonttools-4.38.0-py3-none-any.whl (965 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 965.4/965.4 KB 119.4 MB/s eta 0:00:00[2023-02-06 22:09:38.046394] 
Collecting gitdb==4.0.10
  Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 KB 150.2 MB/s eta 0:00:00[2023-02-06 22:09:38.095383] 
Collecting GitPython==3.1.30
  Downloading GitPython-3.1.30-py3-none-any.whl (184 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.0/184.0 KB 338.3 MB/s eta 0:00:00[2023-02-06 22:09:38.160350] 
Collecting idna==3.4
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 263.8 MB/s eta 0:00:00[2023-02-06 22:09:38.195444] 
Collecting importlib-metadata==6.0.0
  Downloading importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting Jinja2==3.1.2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 267.6 MB/s eta 0:00:00[2023-02-06 22:09:38.305180] 
Collecting jsonschema==4.17.3
  Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 KB 166.0 MB/s eta 0:00:00[2023-02-06 22:09:38.360315] 
Collecting kiwisolver==1.4.4
  Downloading kiwisolver-1.4.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 186.5 MB/s eta 0:00:00[2023-02-06 22:09:38.495248] 
Collecting markdown-it-py==2.1.0
  Downloading markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 KB 205.0 MB/s eta 0:00:00[2023-02-06 22:09:38.545528] 
Collecting MarkupSafe==2.1.2
  Downloading MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting matplotlib==3.6.3
  Downloading matplotlib-3.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 231.9 MB/s eta 0:00:00[2023-02-06 22:09:38.911248] 
Collecting mdurl==0.1.2
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting numpy==1.24.2
  Downloading numpy-1.24.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 217.0 MB/s eta 0:00:00[2023-02-06 22:09:39.418562] 
Collecting packaging==23.0
  Downloading packaging-23.0-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 KB 162.2 MB/s eta 0:00:00[2023-02-06 22:09:39.487815] 
Collecting pandas==1.5.3
  Downloading pandas-1.5.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 308.2 MB/s eta 0:00:00[2023-02-06 22:09:39.745712] 
Collecting Pillow==9.4.0
  Downloading Pillow-9.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 319.8 MB/s eta 0:00:00[2023-02-06 22:09:40.093301] 
Collecting protobuf==3.20.3
  Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 330.1 MB/s eta 0:00:00[2023-02-06 22:09:40.369861] 
Collecting pyarrow==11.0.0
  Downloading pyarrow-11.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.9/34.9 MB 279.9 MB/s eta 0:00:00[2023-02-06 22:09:40.661349] 
Collecting pydeck==0.8.0
  Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 235.6 MB/s eta 0:00:00[2023-02-06 22:09:40.760111] 
Collecting Pygments==2.14.0
  Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 337.8 MB/s eta 0:00:00[2023-02-06 22:09:40.814334] 
Collecting Pympler==1.0.1
  Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 KB 302.2 MB/s eta 0:00:00[2023-02-06 22:09:40.852188] 
Collecting pyparsing==3.0.9
  Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 KB 251.7 MB/s eta 0:00:00[2023-02-06 22:09:40.909943] 
Collecting PyPDF2==3.0.1
  Downloading pypdf2-3.0.1-py3-none-any.whl (232 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.6/232.6 KB 166.5 MB/s eta 0:00:00[2023-02-06 22:09:40.963526] 
Collecting pyrsistent==0.19.3
  Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 KB 134.1 MB/s eta 0:00:00[2023-02-06 22:09:41.036285] 
Collecting python-dateutil==2.8.2
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 259.8 MB/s eta 0:00:00[2023-02-06 22:09:41.077539] 
Collecting pytz==2022.7.1
  Downloading pytz-2022.7.1-py2.py3-none-any.whl (499 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 499.4/499.4 KB 335.4 MB/s eta 0:00:00[2023-02-06 22:09:41.167023] 
Collecting pytz-deprecation-shim==0.1.0.post0
  Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting requests==2.28.2
  Downloading requests-2.28.2-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 152.5 MB/s eta 0:00:00[2023-02-06 22:09:41.263288] 
Collecting rich==13.3.1
  Downloading rich-13.3.1-py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.0/239.0 KB 305.8 MB/s eta 0:00:00[2023-02-06 22:09:41.383058] 
Collecting seaborn==0.12.2
  Downloading seaborn-0.12.2-py3-none-any.whl (293 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.3/293.3 KB 292.9 MB/s eta 0:00:00[2023-02-06 22:09:41.425088] 
Collecting semver==2.13.0
  Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting six==1.16.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting smmap==5.0.0
  Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting streamlit==1.17.0
  Downloading streamlit-1.17.0-py2.py3-none-any.whl (9.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.3/9.3 MB 268.9 MB/s eta 0:00:00[2023-02-06 22:09:41.638120] 
Collecting toml==0.10.2
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting toolz==0.12.0
  Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 192.5 MB/s eta 0:00:00[2023-02-06 22:09:41.710736] 
Collecting tornado==6.2
  Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 424.0/424.0 KB 322.1 MB/s eta 0:00:00[2023-02-06 22:09:41.786327] 
Collecting typing_extensions==4.4.0
  Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting tzdata==2022.7
  Downloading tzdata-2022.7-py2.py3-none-any.whl (340 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 340.1/340.1 KB 170.9 MB/s eta 0:00:00[2023-02-06 22:09:41.862626] 
Collecting tzlocal==4.2
  Downloading tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting urllib3==1.26.14
  Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 KB 171.5 MB/s eta 0:00:00[2023-02-06 22:09:42.008323] 
Collecting validators==0.20.0
  Downloading validators-0.20.0.tar.gz (30 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting zipp==3.12.1
  Downloading zipp-3.12.1-py3-none-any.whl (6.7 kB)
Collecting watchdog
  Downloading watchdog-2.2.1-py3-none-manylinux2014_x86_64.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.0/79.0 KB 220.6 MB/s eta 0:00:00[2023-02-06 22:09:43.278669] 
Building wheels for collected packages: validators
  Building wheel for validators (setup.py): started
  Building wheel for validators (setup.py): finished with status 'done'
  Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19581 sha256=a3a7cb231ca6fd948cb8ffbd274dda11bc75a03d087c93533f0b20d5fc6b3910
  Stored in directory: /tmp/pip-ephem-wheel-cache-vzgdi9md/wheels/f2/ed/dd/d3a556ad245ef9dc570c6bcd2f22886d17b0b408dd3bbb9ac3
Successfully built validators
Installing collected packages: pytz, charset-normalizer, zipp, watchdog, urllib3, tzdata, typing_extensions, tornado, toolz, toml, smmap, six, semver, pyrsistent, PyPDF2, pyparsing, Pympler, Pygments, protobuf, Pillow, packaging, numpy, mdurl, MarkupSafe, kiwisolver, idna, fonttools, entrypoints, decorator, cycler, click, certifi, cachetools, blinker, attrs, validators, requests, pytz-deprecation-shim, python-dateutil, pyarrow, markdown-it-py, jsonschema, Jinja2, importlib-metadata, gitdb, contourpy, tzlocal, rich, pydeck, pandas, matplotlib, GitPython, seaborn, altair, streamlit
Successfully installed GitPython-3.1.30 Jinja2-3.1.2 MarkupSafe-2.1.2 Pillow-9.4.0 PyPDF2-3.0.1 Pygments-2.14.0 Pympler-1.0.1 altair-4.2.2 attrs-22.2.0 blinker-1.5 cachetools-5.3.0 certifi-2022.12.7 charset-normalizer-3.0.1 click-8.1.3 contourpy-1.0.7 cycler-0.11.0 decorator-5.1.1 entrypoints-0.4 fonttools-4.38.0 gitdb-4.0.10 idna-3.4 importlib-metadata-6.0.0 jsonschema-4.17.3 kiwisolver-1.4.4 markdown-it-py-2.1.0 matplotlib-3.6.3 mdurl-0.1.2 numpy-1.24.2 packaging-23.0 pandas-1.5.3 protobuf-3.20.3 pyarrow-11.0.0 pydeck-0.8.0 pyparsing-3.0.9 pyrsistent-0.19.3 python-dateutil-2.8.2 pytz-2022.7.1 pytz-deprecation-shim-0.1.0.post0 requests-2.28.2 rich-13.3.1 seaborn-0.12.2 semver-2.13.0 six-1.16.0 smmap-5.0.0 streamlit-1.17.0 toml-0.10.2 toolz-0.12.0 tornado-6.2 typing_extensions-4.4.0 tzdata-2022.7 tzlocal-4.2 urllib3-1.26.14 validators-0.20.0 watchdog-2.2.1 zipp-3.12.1
WARNING: You are using pip version 22.0.3; however, version 23.0 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
2023-02-06 22:09:57.814 INFO    matplotlib.font_manager: generated new fontManager
Found Streamlit version 1.17.0 in the environment
Streamlit 1.17.0 is present. Installing click 8
Collecting click==8
  Downloading click-8.0.0-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 KB 5.2 MB/s eta 0:00:00[2023-02-06 22:09:59.062186] 
Installing collected packages: click
  Attempting uninstall: click
    Found existing installation: click 8.1.3
    Uninstalling click-8.1.3:
      Successfully uninstalled click-8.1.3
Successfully installed click-8.0.0
WARNING: You are using pip version 22.0.3; however, version 23.0 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Streamlit 1.17.0 is present. Installing protobuf 3.20.1
Collecting protobuf==3.20.1
  Downloading protobuf-3.20.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 26.1 MB/s eta 0:00:00[2023-02-06 22:10:00.559213] 
Installing collected packages: protobuf
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.20.3
    Uninstalling protobuf-3.20.3:
      Successfully uninstalled protobuf-3.20.3
Successfully installed protobuf-3.20.1
WARNING: You are using pip version 22.0.3; however, version 23.0 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.

────────────────────────────────────────────────────────────────────────────────────────

[22:10:01] 🐍 Python dependencies were installed from /app/wellbeing_guide/requirements.txt using pip.
Check if streamlit is installed
Streamlit is already installed
[22:10:03] 📦 Processed dependencies!

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

After a while I see this in the last line:
22:14:26] :exclamation: We have encountered an unexpected problem. If this issue persists, please contact support




Same here – one of my colleagues told me the app is unavailable, and I’ve restarted it. Now it is stuck in the oven even after I deleted it and hosted again.

[23:25:16] 🖥 Provisioning machine...
[23:26:40] 🎛 Preparing system...
[23:26:45] ⛓ Spinning up manager process...
[23:27:53] 🎈 Inflating balloons...
[23:27:59] 📖 Unpacking Comic Sans RAR files...
[23:28:06] 🚧 Loading "Under construction" GIF...
[23:28:12] 🛠 Compiling <blink> tags...
[23:28:21] 📠 Initializing Java applet...
[23:28:26] ⏳ Please wait...
1 Like

Upd.: 1 hour passed, still the same issue

Also having the same issue on an app that has previously worked but had gone to sleep.

Having the same issue.

Since we have a few different people on this thread now, let me just cover bases trying to make sure we’re all in the same spot.

My “App won’t launch” troubleshooting checklist:

  1. For anyone late to the party, there was indeed a system issue that was declared fixed only yesterday, so make sure you’ve tried rebooting your app. If you fall into the case of “it worked perfectly fine before and I didn’t change anything, but a reboot doesn’t fix it” then we may need to enlist staff to see if there are any lingering issues from this. (Alternately it could be a package upgrade, so you might verify locally if your app is breaking with the latest version of Streamlit and maybe try pinning to a previous known good version of Streamlit for your app.)

I’ll note that officially it says the “majority” should be fixed now:

Hey there :wave: @Alexandru_Toader, just looping you in since you seemed to be covering this.

Here’s the extent of my advice I can offer:

  1. Create a very simple test_app.py file with two lines:
import streamlit as st
st.write('test')
  1. Set this as the main app in your Streamlit admin console, then three dots → Reboot your app
  2. If 2 is not a success:
    • Check what your total file size is. If you have a lot of data, try to temporarily remove or trim your largest pieces to see if that is clogging it up. (Although 1GB resource limit is given, I’ve read it may at times grace you with more, so just because something worked before does not eliminate this as a possibility, just fyi.)
    • Check the terminal for any reported errors installing. Report specific errors seen with a link to your repository so we can see your setup files. If an error does not make clear which package might be causing problems, I’d recommend trimming your requirements down and adding things back in to try and locate what is not installing correctly that it can’t launch a one-line Streamlit app. Order of installation could potentially come in to play.
      - We could just be seeing more of the issues carrying over from the weekend, in which case I’ll pass off to staff.
  3. If 2 is a success:
    • This should mean the environment isn’t fundamentally corrupt and you are not starting off with too much content in the resource-limited container.
    • Check your main app for anything that could introduce a large amount of data held in memory that might be pushing it over the limit on the first run.
    • If nothing seems guilty, expand the test app to include all the imports you have within your app and use st.write to display each of their versions just to make sure each of the installed packages you are using are readable.
1 Like

My app deployed successfully this morning, no changes on my end.

It’s working now. The issue seems to be fixed.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.