Coder Social home page Coder Social logo

failed to deploy on remote server about tabby-web HOT 4 OPEN

eugeny avatar eugeny commented on August 17, 2024
failed to deploy on remote server

from tabby-web.

Comments (4)

archibaldodlc avatar archibaldodlc commented on August 17, 2024 3

I had the same problem and I resolved doing this:

I'm using this version: 1.0.189-nightly.2 (with the latest one don't work for me)

  • Go inside the container:
    docker exec -it tabby-web-container /bin/sh

  • Install version 1.0.189-nightly.2
    /manage.sh add_version 1.0.189-nightly.2

  • CD to version folder:
    cd /app-dist/1.0.189-nightly.2

  • Move all content from tmp folder to current folder (/app-dist/1.0.189-nightly.2/):
    mv tmpfolder/* ./

  • Remove the tmp folder
    rm -rf tmpfolder

Refresh the page on Tabby Web and select the version installed.

Hope it helps.

from tabby-web.

huzheyi avatar huzheyi commented on August 17, 2024

SOCIAL_AUTH_GITHUB_SECRET

it seems the npm packet is unpacked to a folder with a temp name, like:

1.0.163
  - tmpfolder
     - tabby-web-container
     - ...

so just look into /app-dist to fix the folder name

from tabby-web.

alexdelprete avatar alexdelprete commented on August 17, 2024

I had the same problem and I resolved doing this:

I have this issue and can't solve it, tried with any version of the image (the old master and latest nightly) and with several app versions:

docker compose run tabby-web /manage.sh add_version 1.0.189-nightly.2
[+] Creating 1/0                                                                                                                                                                                                      
INFO Resolving [email protected]
INFO Downloading [email protected] from https://registry.npmjs.org/tabby-web-container/-/tabby-web-container-1.0.189-nightly.2.tgz
INFO Resolving [email protected]
INFO Downloading [email protected] from https://registry.npmjs.org/tabby-core/-/tabby-core-1.0.189-nightly.2.tgz
INFO Resolving [email protected]
INFO Downloading [email protected] from https://registry.npmjs.org/tabby-settings/-/tabby-settings-1.0.189-nightly.2.tgz
INFO Resolving [email protected]
INFO Downloading [email protected] from https://registry.npmjs.org/tabby-terminal/-/tabby-terminal-1.0.189-nightly.2.tgz
INFO Resolving [email protected]
INFO Downloading [email protected] from https://registry.npmjs.org/tabby-ssh/-/tabby-ssh-1.0.189-nightly.2.tgz
INFO Resolving [email protected]
INFO Downloading [email protected] from https://registry.npmjs.org/tabby-community-color-schemes/-/tabby-community-color-schemes-1.0.189-nightly.2.tgz
tar: invalid magic
tar: short read
Traceback (most recent call last):
  File "./manage.py", line 22, in <module>
    main()
  File "./manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/app/tabby/app/management/commands/add_version.py", line 56, in handle
    ["tar", "-xzf", f.name, "-C", str(extraction_tmp)]
  File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['tar', '-xzf', '/tmp/tmptiijiy6h', '-C', '/tmp/tmp6pyit54s']' returned non-zero exit status 1.

from tabby-web.

Dima-Kal avatar Dima-Kal commented on August 17, 2024

I had the same problem and I resolved doing this:

I'm using this version: 1.0.189-nightly.2 (with the latest one don't work for me)

  • Go inside the container:
    docker exec -it tabby-web-container /bin/sh
  • Install version 1.0.189-nightly.2
    /manage.sh add_version 1.0.189-nightly.2
  • CD to version folder:
    cd /app-dist/1.0.189-nightly.2
  • Move all content from tmp folder to current folder (/app-dist/1.0.189-nightly.2/):
    mv tmpfolder/* ./
  • Remove the tmp folder
    rm -rf tmpfolder

Refresh the page on Tabby Web and select the version installed.

Hope it helps.

Worked for me, why this issue still exists for more than a year? this web app is literally broken, and also the "settings sync" plugin is being deprecated in favor of tabby-web, but its broken!

from tabby-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.