GithubHelp home page GithubHelp logo

yunohost-apps / simple-torrent_ynh Goto Github PK

View Code? Open in Web Editor NEW
6.0 5.0 1.0 241 KB

Simple Torrent package for YunoHost

License: GNU General Public License v3.0

Shell 100.00%
yunohost yunohost-apps official-ynh simple-torrent

simple-torrent_ynh's Introduction

Simple Torrent for YunoHost

Integration level Working status Maintenance status

Install Simple Torrent with YunoHost

Lire ce readme en français.

This package allows you to install Simple Torrent quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.

Features

  • Individual file download control (1.1.3+)
  • Run external program on tasks completion
  • Stops task when seeding ratio reached
  • Download/Upload speed limiter
  • Detailed transfer stats in web UI.
  • Torrent Watcher
  • Extra trackers from external source
  • Protocol Handler to magnet
  • Magnet RSS subscribing supported

Shipped version: 1.3.9~ynh8

Screenshots

Screenshot of Simple Torrent

🔴 Antifeatures

  • Upstream not maintained: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
or
sudo yunohost app upgrade simple-torrent -u https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

simple-torrent_ynh's People

Contributors

alexaubin avatar ericgaspar avatar github-actions[bot] avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

supermamie

simple-torrent_ynh's Issues

Yunohost 4.X not supported anymore ?

Hi,

I am running Yunohost 4.3.6.2.
Simple Torrent is proposed in the list of applications I can install.

The admin panel pretends it starts intalling version "1.3.9~ynh4"

image

But then the installation failed saying I don't have Yunohost 11.

image

I saw on github that this packaging used to be compatible with Yunohost 4.X.
It seems backward compatibility is broken.

I am not sure how the version are handled in Yunohost packaging ?
Are you supposed to maintain a separate branch ?

Can't install on RPIs with Yunohost official image

Describe the bug

It is impossible to install Simple-Torrent on a Raspberry pi (4) if you use the official Yunohost image on installation.
It seems like it is a x32 OS but Raspberri pi 4 support x64 apps si while hardware is okay, software from the image makes it impossible.

#WorkAround#
User 'tituspijean' told me that flahsing Raspbian and then using the Yunohost install script would make this work (yet to try).

Context

  • Hardware: Raspberry PI 4 8Go
  • YunoHost version: 4.3.4.2 stable
  • I have access to my server: Through SSH YES | through the webadmin YES | direct access via keyboard / screen YES
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: Simple-torrent 1.3.9

Steps to reproduce

  1. Flash Yunohost image on Raspberry Pi
  2. Install Yunohost
  3. Try installing simple-torrent
  4. See error

Expected behavior

The app should install

Logs

args:
app: simple-torrent
args: domain=maindomain.tld&path=%2Fsimpletorrent&is_public=1
force: false
label: Simple Torrent
no_remove_on_failure: false
ended_at: 2021-12-09 18:23:19.566645
env:
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_PATH: /simpletorrent
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_d8k3l5l0
YNH_APP_ID: simple-torrent
YNH_APP_INSTANCE_NAME: simple-torrent
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.3.9~ynh3
YNH_ARCH: armhf
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:

    • app
    • simple-torrent
      started_at: 2021-12-09 18:23:17.172081
      success: false
      yunohost_version: 4.3.4.2

============

2021-12-09 18:23:17,199: INFO - Installation de simple-torrent...
2021-12-09 18:23:17,288: DEBUG - Nothing to update in LDAP
2021-12-09 18:23:17,289: DEBUG - Permission 'simple-torrent.main' mise à jour
2021-12-09 18:23:17,315: DEBUG - Journal complet de cette opération : ' Mise à jour de l'URL associée à l'autorisation 'simple-torrent' '
2021-12-09 18:23:17,390: DEBUG - The permission database has been resynchronized
2021-12-09 18:23:17,440: DEBUG - La configuration de SSOwat a été regénérée
2021-12-09 18:23:17,500: DEBUG - Permission 'simple-torrent.main' créée
2021-12-09 18:23:17,501: DEBUG - Journal complet de cette opération : ' Créer permission 'simple-torrent' '
2021-12-09 18:23:17,547: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2021-12-09 18:23:17,570: DEBUG - + source _common.sh
2021-12-09 18:23:17,571: DEBUG - + source /usr/share/yunohost/helpers
2021-12-09 18:23:17,573: DEBUG - +++ set +o
2021-12-09 18:23:17,573: DEBUG - +++ grep xtrace
2021-12-09 18:23:17,578: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-09 18:23:17,578: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-09 18:23:17,655: DEBUG - + ynh_abort_if_errors
2021-12-09 18:23:17,656: DEBUG - + trap ynh_exit_properly EXIT
2021-12-09 18:23:17,657: DEBUG - + domain=maindomain.tld
2021-12-09 18:23:17,657: DEBUG - + path_url=/simpletorrent
2021-12-09 18:23:17,658: DEBUG - + is_public=1
2021-12-09 18:23:17,658: DEBUG - ++ ynh_detect_arch
2021-12-09 18:23:17,660: DEBUG - +++ uname -m
2021-12-09 18:23:17,661: DEBUG - +++ grep arm64
2021-12-09 18:23:17,667: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,669: DEBUG - +++ uname -m
2021-12-09 18:23:17,669: DEBUG - +++ grep aarch64
2021-12-09 18:23:17,675: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,677: DEBUG - +++ uname -m
2021-12-09 18:23:17,678: DEBUG - +++ grep 86
2021-12-09 18:23:17,683: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,685: DEBUG - +++ uname -m
2021-12-09 18:23:17,686: DEBUG - +++ grep 64
2021-12-09 18:23:17,691: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,692: DEBUG - ++ architecture=unknown
2021-12-09 18:23:17,692: DEBUG - ++ echo unknown
2021-12-09 18:23:17,692: DEBUG - + architecture=unknown
2021-12-09 18:23:17,693: DEBUG - + app=simple-torrent
2021-12-09 18:23:17,946: INFO - [....................] > Validating installation parameters...
2021-12-09 18:23:17,951: DEBUG - + '[' unknown == unknown ']'
2021-12-09 18:23:17,952: DEBUG - + ynh_die '--message=Sorry, this app cannot be installed on a 32-bit ARM machine.'
2021-12-09 18:23:18,025: WARNING - Sorry, this app cannot be installed on a 32-bit ARM machine.
2021-12-09 18:23:18,028: DEBUG - + ynh_exit_properly
2021-12-09 18:23:19,564: ERROR - Impossible d'installer simple-torrent : Une erreur est survenue dans le script d'installation de l'application

Configuration get deleted at every update (Download Directory)

So, running yunohost simple-torrent on rpi 4.

I just wanna notice to you 2 things :

-Why they're just no way to configure the download directory on the web ui on this ? Seem to be the bare minimum for a torrent app on a self-hosted server...

-And why, after we found we have to edit a file with nano on terminal for that, the update progress clean and deleted EVERYTIME this files ?

This two things making simple-torrent like... not easy at all. Can someone make this more simple, like the name ?

Configuration resets after update

After updating, the configuration made through the web UI goes back to default, eg. the seed ratio goes back to 0.

Versions

  • Hardware: ARM instance at Scaleway
  • YunoHost version: 4.1.7.3
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: no
  • Using, or trying to install package version/branch: stable
  • If upgrading, current package version: current : 1.2.15~ynh1. As far as I remember, every updates since I'm using this app (November 2020) triggers this issue.

To Reproduce

  1. Install simple-torrent
  2. Change configuration through webUI
  3. When an update is available, update : configuration is lost.

Expected behavior
Configuration should remain untouched : backup & restore the configuration file ?

Note this is a minor issue, and thanks for your work!
Cheers

Error while installing simple-torrent

How to post a meaningful bug report

  1. Read this whole template first.
  2. Determine if you are on the right place:
    • If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
    • Otherwise, the issue may be due to Simple Torrent itself. Refer to its documentation or repository for help.
    • If you have a doubt, post here, we will figure it out together.
  3. Delete the italic comments as you write over them below, and remove this guide.

Describe the bug
I've tried to intall simple-torrent, first without removing transmission, and then after removing it, but the error shown its the same and it doesn't end the installation.

Versions

  • Hardware: Cubox i4-pro, Armbian 21.02.3 Buster with Linux 5.10.21-imx6
  • YunoHost version: 4.1.7.4
  • I have access to my server: SSH and webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: maybe?
    I installed manually over an already existent armbian (fresh install)
  • Using, or trying to install package version/branch: main version
  • If upgrading, current package version:

To Reproduce

  • Access webadmin
  • Go to Apps
  • Click Install
  • Search and install Simple-torrent

or

  • Access via ssh
  • Perform sudo yunohost app install simple-torrent

I've tried in both cases to keep default values and editing them.

Expected behavior
Installation of the App

Logs
https://paste.yunohost.org/raw/qufenipomu

Sorry for the Italian, the error translate to: "Error in installation script", and the first warning appears after the line "Setting up source files...", then grep and wget launch errors.

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.