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

[BUG] Error when stopping app from CLI #33

Open
5 of 7 tasks
shuther opened this issue Apr 23, 2024 · 1 comment
Open
5 of 7 tasks

[BUG] Error when stopping app from CLI #33

shuther opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@shuther
Copy link

shuther commented Apr 23, 2024

Checklist

Before opening your issue be sure to have completed all those tasks.

  • My issue is not related to an app I installed through tipi (If so please open your issue here: https://github.com/runtipi/runtipi-appstore/issues)
  • My issue is not a support request (eg: "My instance is not running after update". If so please ask for support in the help section of our Discord server)
  • I have searched for an already existing issue with similar context and errors. My issue has not yet been reported.
  • I have included a clear description and steps to reproduce.
  • I have included the result of the command ./runtipi-cli debug
  • I have included logs from the file runtipi/logs/error.log if relevant
  • I am using a custom docker compose file (user-config/tipi-compose.yml)

Describe the bug
I ran the command:

 ./runtipi-cli app stop zipline

and I received the error below. The docker container was not stopped

Warning ⚠️: If you use a custom docker compose file (located in user-config/tipi-compose.yml) please try to start runtipi without it before submitting an issue. If the issue persists even without the custom docker compose file then proceed to open an issue.

To Reproduce
Steps to reproduce the behavior:

  1. Just try to stop it.

Expected behavior
no error

Screenshots
./runtipi-cli app stop zipline

Welcome to Runtipi CLI ✨

⠸ Stopping app zipline...                                                                                                                                       thread 'main' panicked at src/commands/app.rs:167:80:
called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(192.168.1.41)), port: None, path: "/worker-api/apps/zipline/stop", query: None, fragment: None }, source: TimedOut }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • OS: ubuntu 23.10
  • Tipi Version : latest as of today

Additional context

--- System information ---
┌──────────────┬──────────────────┐
│ OS           │ linux            │
├──────────────┼──────────────────┤
│ OS Version   │ 6.5.0-28-generic │
├──────────────┼──────────────────┤
│ Memory (GB)  │ 10.69            │
├──────────────┼──────────────────┤
│ Architecture │ amd64            │
└──────────────┴──────────────────┘

--- Tipi configuration ---
┌───────────────────────────┬────┐
│ Custom tipi docker config │ No │
└───────────────────────────┴────┘

--- Settings.json ---
{
  "allowAutoThemes": true,
  "allowErrorMonitoring": false,
  "appsRepoUrl": "https://github.com/runtipi/runtipi-appstore",
  "demoMode": false,
  "dnsIp": "192.168.0.2",
  "guestDashboard": false,
  "internalIp": "192.168.0.52",
  "localDomain": "tipi.local",
  "persistTraefikConfig": false,
  "postgresPort": 5432,
  "storagePath": "/home/steve/Downloads/runtipi"
}

--- Environment variables ---
┌───────────────────┬──────────────────────────────────────────────────────────────────┐
│ POSTGRES_PASSWORD │ <redacted>                                                       │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ REDIS_PASSWORD    │ <redacted>                                                       │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ APPS_REPO_ID      │ 29ca930bfdaffa1dfabf5726336380ede7066bc53297e3c0c868b27c97282903 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ APPS_REPO_URL     │ https://github.com/runtipi/runtipi-appstore                      │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ TIPI_VERSION      │ v3.1.3                                                           │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ INTERNAL_IP       │ 192.168.1.41                                                     │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ ARCHITECTURE      │ amd64                                                            │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ JWT_SECRET        │ <redacted>                                                       │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ ROOT_FOLDER_HOST  │ /home/steve/Downloads/runtipi                                    │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ STORAGE_PATH      │ /home/steve/Downloads/runtipi                                    │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ NGINX_PORT        │ 80                                                               │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ NGINX_PORT_SSL    │ 443                                                              │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ DOMAIN            │ <redacted>                                                       │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ POSTGRES_HOST     │ runtipi-db                                                       │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ POSTGRES_DBNAME   │ tipi                                                             │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ POSTGRES_USERNAME │ tipi                                                             │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ POSTGRES_PORT     │ 5432                                                             │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ REDIS_HOST        │ runtipi-redis                                                    │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ DEMO_MODE         │ false                                                            │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ LOCAL_DOMAIN      │ tipi.local                                                       │
└───────────────────┴──────────────────────────────────────────────────────────────────┘

--- Docker containers ---
┌───────────────────────┬────┐
│ runtipi-reverse-proxy │ Up │
├───────────────────────┼────┤
│ runtipi-redis         │ Up │
├───────────────────────┼────┤
│ runtipi-db            │ Up │
└───────────────────────┴────┘

Updated by @meienberger (formatting)

@shuther shuther added the bug Something isn't working label Apr 23, 2024
@meienberger
Copy link
Collaborator

Thanks for reporting, I'm doing some testing

@meienberger meienberger transferred this issue from runtipi/runtipi Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants