https://ploomber.io/ logo
Join SlackCommunities
Powered by
# ask-anything
  • i

    Israel okon

    12/04/2024, 5:50 PM
    Hello, How can I end the zombie processes on my pc
  • k

    Kobe Sauwens

    12/14/2024, 4:44 PM
    Hi I was trying to deploy my dash app that uses a python module that I built myself. I provide the path to the tar file that is inside the provided zip in the "requirements.txt". Yet it does not seem to find the file. Is this functionality not possible? 2024-12-14T162430.883000 - WARNING: Requirement './datatools/dist/datatools-0.0.4.tar.gz' looks like a filename, but the file does not exist 2024-12-14T162430.904000 - Processing ./datatools/dist/datatools-0.0.4.tar.gz 2024-12-14T162430.908000 - ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/srv/datatools/dist/datatools-0.0.4.tar.gz' 2024-12-14T162431.013000 - [notice] A new release of pip is available: 24.0 -> 24.3.1 2024-12-14T162431.013000 - [notice] To update, run: pip install --upgrade pip 2024-12-14T162431.061000 - error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1 2024-12-14T162455.035000 - The container failed with exit code 1 Yet if I test locally, the command pip install -r requirements.txt runs succesfully....
    e
    • 2
    • 11
  • m

    Michael McGarrah

    12/15/2024, 10:38 PM
    Hello, I'm trying to update a Python Flask app where I moved my app.py to a subdirectory with the app name. How do I set the FLASK_APP to point to my new location with a deployment from Github using Github Actions...? Ploomber was working when I had the app.py in the webroot. Some other bit required moving it. Now Ploomber deploy won't find it.
  • m

    Michael McGarrah

    12/15/2024, 10:40 PM
    Can I pass something to "`ploomber-cloud deploy`" that points it to the "`quiz/app.py`" file or
    FLASK_APP
    variable with the
    app.py
    path or name
    <http://quiz.app|quiz.app>
    ?
  • m

    Michael McGarrah

    12/15/2024, 11:13 PM
    Here is my layout of the project. I'm still figuring out Flask a bit and reorganized to move the app.py into a sub-directory which broke the
    ploomber-cloud deploy
    but I figured I could just pass a FLASK_APP variable someplace but I'm stuggling to find it.
    Copy code
    legendary_quick_quiz
    ├── FAQ.md
    ├── LICENSE
    ├── README.md
    ├── TODO.md
    ├── favicon.ico
    ├── initial_questions.json
    ├── manage.py
    ├── ploomber-cloud.json
    ├── quiz
    │   ├── __init__.py
    │   ├── app.py
    │   ├── modules
    │   │   ├── __init__.py
    │   │   ├── models.py
    │   │   ├── routes_main.py
    │   │   ├── routes_quiz.py
    │   │   └── routes_settings.py
    │   ├── static
    │   │   ├── css
    │   │   ├── images
    │   │   │   └── tardis.png
    │   │   └── js
    │   └── templates
    │       ├── default.html
    │       ├── edit_categories.html
    │       ├── edit_questions.html
    │       ├── footer.html
    │       ├── navbar.html
    │       ├── quiz.html
    │       ├── select_category.html
    │       └── settings.html
    └── requirements.txt
  • m

    Michael McGarrah

    12/16/2024, 12:04 AM
    Yeah, nothing seemed to work so reverted the move of the app from webroot/quiz/app.py to webroot/app.py and going to revisit another day.
    e
    • 2
    • 3
  • y

    Yashvardhan Singh Ranawat

    12/16/2024, 6:36 PM
    Hey, who do I get in touch with for billing/ pricing?
    e
    • 2
    • 2
  • m

    Michael McGarrah

    12/19/2024, 9:45 PM
    My Github Actions deploy that has been working and no changes is failing in Docker Logs with:
    Copy code
    2024-12-19T21:43:00.761000 - error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "<http://XYZ.dkr.ecr.REGION.amazonaws.com/shiny-haze-6453:aff4bcc3|XYZ.dkr.ecr.REGION.amazonaws.com/shiny-haze-6453:aff4bcc3>": POST <https://XYZ.dkr.ecr.REGION.amazonaws.com/v2/shiny-haze-6453/blobs/uploads/>: NAME_UNKNOWN: The repository with name 'shiny-haze-6453' does not exist in the registry with id 'XYZ'
    e
    g
    • 3
    • 41
  • p

    Pedro Baptista de Castro

    12/20/2024, 12:44 AM
    Hello, good morning everyone. I tried to redeploy my app this morning and it got stuck. In my "Applications" page I am getting: "Internal error - Please contact us on slack for support, link on the bottom" Ploomber Solara app is giving :
    Copy code
    no healthy upstream
    (https://wispy-resonance-8867.ploomberapp.io/) Website said to contact on Slack. BTW, just a headsup but the link in the Applications for Slack invitation is stale (Have an issue? Join our Slack footer). I had to go through Get support --> Join our Slack to get an working linking.
    e
    • 2
    • 4
  • k

    Kobe Sauwens

    12/22/2024, 10:14 AM
    Hi, is there a debug strategy for resolving a "502 Bad Gateway" after deploying a docker project? There are no errors when running with gunicorn, but when running a docker container locally I get "The connection was reset" and when running in ploomber I get the 502 Bad Gateway. My Dockerfile looks like this:
    Copy code
    FROM python:3.11-slim-bookworm
    
    WORKDIR /app
    
    COPY . /app
    RUN pip install -r requirements.txt --no-cache-dir
    
    COPY . /app
    
    CMD ["gunicorn", "app:server", "run", "--bind", "0.0.0.0:5000"]
    i
    • 2
    • 3
  • p

    Pedro Baptista de Castro

    01/05/2025, 8:09 AM
    Hello, everyone. I hope you all had a good new year. I just came back from travelling and its seems my app has been deleted due to inactivity. That is fine! But when I try to redeploy it again, I am getting: Serving traffic: Failed And no details in the logs whatsoever for the reason. Name is aged-bonus-7305, 64899d2c Thanks!
    y
    • 2
    • 1
  • t

    Thang

    01/06/2025, 3:13 AM
    how long to get this process to be done, i'm upgrading my account but so long
    e
    • 2
    • 8
  • b

    bambang eko

    01/06/2025, 3:57 PM
    hy mate,how long to get this process to be done, i'm upgrading my account but so long
    i
    t
    • 3
    • 3
  • e

    Emil Jivishov

    01/12/2025, 10:34 PM
    Hi. Is there a way to get ns.ploomberapp.io type namespace addresses for the custom domain? My domain service accepts only ns1, ns2, etc type namespaces to point the domain name to the hosting.
    e
    i
    • 3
    • 7
  • j

    Jared Thompson

    01/14/2025, 6:47 PM
    Hello, basic question, I was going through the examples (while using jupyterlab), and the first one worked, but did not contain the plot output - is there a trick to getting output retained? For example, from here: https://engine.ploomber.io/en/latest/user-guide/running.html I created a notebook called
    basic.ipynb
    with this in it:
    Copy code
    import altair as alt
    import pandas as pd
    
    source = pd.DataFrame({
        'a': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'],
        'b': [28, 55, 43, 91, 81, 53, 19, 87, 52]
    })
    
    alt.Chart(source).mark_bar().encode(
        x='a',
        y='b'
    )
    then I:
    Copy code
    from ploomber_engine import execute_notebook
    nb = execute_notebook('basic.ipynb', output_path='basic_candy.ipynb')
    When I opened up
    basic_candy.ipynb
    I could see the the cell was executed but it was empty. When I run this manually it works fine, but I run through ploomber it has this issue. Is there something else that has to be done to get it to show rich output?
    e
    • 2
    • 3
  • p

    Piotr Kalinowski

    01/17/2025, 11:46 AM
    Hello! I have troubles deploying Chainlit application. The deployment of the app was working fine a few weeks ago, now the same app has status "Webservice pending" during deployment for a few hours, then it stops... There are no application logs. My friend also tried with Chainlit app and has the same issue. Screen below:
    i
    • 2
    • 4
  • r

    Rashid Javed

    01/17/2025, 1:43 PM
    Sorry, if it is a stupid question but i am new here. Yesterday i deployed my first streamlit app to ploomber community cloud (it was deployed with a zip file, no github integration). After testing the app in few different devices, i find some bugs and want to fix these. My question is how to do this. Is there a way to edit the deployed .py files on ploomber community cloud ?
    g
    • 2
    • 2
  • t

    Terence Ateya

    01/28/2025, 2:33 PM
    Hello! I have trouble my apps on ploomber. The deployment was working before and suddenly stops with error message: Forbidden - An unexpected error occurred. Please contact support: contact@ploomber.io (Request ID: r-1ea1c8cf).
    i
    • 2
    • 5
  • t

    Terence Ateya

    01/28/2025, 3:04 PM
    Hello! My docker build keeps failing due to insufficient memory. I have bumped memory to 8CPU and 16RAM, yet the error persists. Any workaround please?
    e
    • 2
    • 4
  • t

    Terence Ateya

    01/28/2025, 4:12 PM
    Hello! Memory issues. I have added the recommend (https://docs.cloud.ploomber.io/en/latest/faq/faq.html#installing-pytorch): RUN pip install torch==2.1.1 torchvision==0.16.1 --index-url https://download.pytorch.org/whl/cpu in my dockerfile yet the memory issue persist. I am using panel framework. I removed my dockerfile and let ploomber build its own image yet the build keeps failing. Please any suggestions? FYI: I building and llm rag system
    g
    • 2
    • 9
  • s

    siddharth chaturvedi

    02/06/2025, 6:33 PM
    I am trying to connect to postgres database from my notebook. I am passing the connection string and I have port forwarded to the correct port. It used to work for me but now I am getting this new error message.
    e
    • 2
    • 1
  • s

    siddharth chaturvedi

    02/06/2025, 6:33 PM
    can someone help here, please
  • e

    Elham Pilegar

    02/07/2025, 4:14 PM
    Hello everyone! I’m relatively new to Shiny and trying to deploy my R Shiny application on Ploomber. However, the deployment fails, and I get the following error in the logs:
    Error: package or namespace load failed for 'sf' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/local/lib/R/site-library/units/libs/units.so'
    I tried adding the following to `install.R`:
    install.packages("sf", type = "source", dependencies = TRUE, configure.args = "--with-proj-lib=/usr/local/lib/")
    But I still can’t deploy the app. Could anyone guide me on how to resolve this issue? Thanks in advance!
    g
    e
    • 3
    • 30
  • m

    Manuel Lopes

    02/08/2025, 9:46 AM
    I am trying to create an app using streamlit. It works fine in streamlit community. When it is creating it stops and I only get the status message "docker-failed-ins" and I cannot read the rest or find the log. Question. where to find the log? what can be the problem?
    e
    g
    • 3
    • 10
  • r

    Rolf Freimann

    02/10/2025, 6:51 PM
    Hello, I provided two streamlit apps and I am satisfied how fast and reliably they have been deployed. I intend to grant access to my apps to my customers. They are very concerned about the security of their entries. In the 'Privacy policy' I cannot find any information about whether Ploomber reads incoming or outgoing data traffic. Are there any publicly available statements by Ploomber concerning this topic ?
    e
    • 2
    • 1
  • r

    Ryan Smith

    02/11/2025, 2:00 PM
    Hi guys, I have an issue with my project i tried to set the custom domain but it errored and now I can't redeploy or do anything with it?
    g
    • 2
    • 30
  • s

    sagar mandal

    02/12/2025, 7:43 PM
    Hey Team, Trying to deploy my Flask application. But the logs refresh while Webservice is Pending - 2025-02-12T194001.501000+00:00 - [2025-02-12 194001 +0000] [1] [INFO] Starting gunicorn 23.0.0 2025-02-12T194001.503000+00:00 - [2025-02-12 194001 +0000] [1] [INFO] Listening at: http://0.0.0.0:80 (1) 2025-02-12T194001.503000+00:00 - [2025-02-12 194001 +0000] [1] [INFO] Using worker: sync 2025-02-12T194001.511000+00:00 - [2025-02-12 194001 +0000] [7] [INFO] Booting worker with pid: 7 What could be the problem here?
    e
    g
    • 3
    • 17
  • m

    Michael Magan

    02/17/2025, 10:30 AM
    I am using JupySQL in Jupyter Labs and it is displaying the following message: Tip: You may define configurations in /Users/michael/orahub/ohi-jupyter-lab/pyproject.toml or /Users/michael/.jupysql/config. Please review our configuration guideline. Did not find user configurations in /Users/michael/orahub/ohi-jupyter-lab/pyproject.toml. How do I suppress this message? I don't think I need any specific user configuration. The link provided is not particularly helpful.
    i
    • 2
    • 2
  • e

    Emil Jivishov

    02/18/2025, 4:32 AM
    Hi. I have an app at medaid.ploomber.io and it has a subdomain app.medaid.az. I need to provide an IP address of the app which will be whitelisted on my db server. When I check the A records via the whatsmydns.me I get 3 different IP addresses. Which one shall I use in my case?
    e
    • 2
    • 3
  • s

    SDOCA

    02/18/2025, 12:19 PM
    Hi, I am a subscribed user for Ploomber. Do you have a example script to automatically deploy the ploomber app? I am doing so because I need to update my app 4 times per day, so every 6 hour I need to re-deploy my app.
    e
    • 2
    • 2
1...7891011Latest