GithubHelp home page GithubHelp logo

bytesizedhosting / bcd Goto Github PK

View Code? Open in Web Editor NEW
51.0 51.0 19.0 2.2 MB

The Bytesized Connect Daemon - https://bytesized-hosting.com/connect

License: GNU General Public License v3.0

Shell 5.32% Go 94.59% Roff 0.10%

bcd's People

Contributors

gitter-badger avatar rodr1c avatar va6dah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bcd's Issues

error 500 after installing the API on Ubuntu server 16.04

after successfully installing the API-key. The website asks me to click on the Check connection button. I do this but after doing this I get to see error 500 in my web browser. I tried to reinstall the connect program a few times, I did a full re-installation of my server. All of it just didn't help at all. I keep getting the error. I also checked whether the docker, BCD or BCD-proxy properly installed on it's own. the BCD and BCD-proxy do BUT. If I do apt-get install docker after installing the API-key. It gives me the message

Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: docker 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/12.2 kB of archives. After this operation, 65.5 kB of additional disk space will be used. Selecting previously unselected package docker. (Reading database ... 92231 files and directories currently installed.) Preparing to unpack .../docker_1.5-1_amd64.deb ... Unpacking docker (1.5-1) ... Processing triggers for man-db (2.7.5-1) ... Setting up docker (1.5-1) ...

which is weird because you would think docker was installed with the API-key. After finding out about this I reinstalled again but with a docker re installment before the installment of the API-key. Which unfortunately didn't help...

I hope there is actually a solution to this. Prior to all of this I actually managed to get your service running but I uninstalled it back then (2 days ago) because I thought it would interfere with programs that were already installed at that moment. So I did a re-installation, installed bytesized API-key, the service gave me the 500 error. reinstalled API-key a few times using the uninstallation method provided on your site:

apt-get remove docker service bcd stop service bcd-proxy stop rm /usr/local/bin/bcd && rm /usr/local/bin/bcd-proxy && rm /lib/systemd/system/bcd.service && rm /lib/systemd/system/bcd-proxy.service

reinstalled the system after that and now I can't manage to install it again. Please help me because I did have the privilege to use your system litterally a day ago. But now I just can't manage to use it again and that is really a miss.

I could really use some help so please. Help everyone by helping me!

Nothing showing up in Graphs section

I have installed Bytesize connect on 3 servers so far and on all of them I get nothing in the Graphs section, not sure what I did wrong or if it is like that for more people?

Be happy to send whatever info is needed to take a look at it.

Thanks in advance!

VPN support as App

We should try to add (Open-)VPN in as a supported app.

The same question as the FTP daemon comes up. Do we make this a custom app from the website site which allows user creation or do we try something very simple with just one user account.

Redirect loop for bcd-proxy with Syncthing

There are a few URLs inside of Syncthing that cause a redirect loop when proxied through bcd-proxy.

The following URLs have been found to cause the redirect.

  • /qr/
  • /rest/debug/

We need to figure out if this is an issue with Syncthing or bcd-proxy.

Generic Docker App Plugin

This should allow you to install/configure Docker images via the website. We should consider either building it as an 'discoverable' app although this might have implications for the usability as all Docker options need to be exposed somehow.

Perhaps a hardcoded plugin would be better in this case so we can optimise the UX experience.

Add auto update for Filebot & Rename Reinstall

Hello,on bytesized connect when you hit reinstall it will not get the last update of filebot but always the 4.7.2. So you can't update filebot and always have to wait the image to be updated.

Actually you can update filebot manually by spawning into the docker and doing these commands :
wget -O /app/filebot.deb 'https://app.filebot.net/download.php?type=deb&arch=amd64&version=4.7.8'
dpkg -i /app/filebot.deb && rm /app/filebot.deb

It seem likes filebot are the only app who doesn't get the last update (in dockerfile) when you install the docker.

Exemples : Sickrage get the last update available on github :
https://puu.sh/uyZko/d2d35d5cd1.png

And it's the same for almost every bsc app excluding filebot.

To easily fix that,just modify "https://app.filebot.net/download.php?type=deb&arch=amd64&version=4.7.2" in dockerfile by ""https://www.filebot.net/download.php?mode=s&type=deb&arch=amd64"

(BTW if you could rename "Reinstall" by update in bytesized connect if would be more intuitive).

And a last request,can you tell me where did you found your "monitor"/"watcher" plugin for filebot ?
Thanks !

Add a (S)FTP Application

It would be nice to manage FTP accounts via a new app installation. Each installation could offer access to different users and different paths or we could figure out some custom way of managing that all from one app installation.

Of course it's already possible to simple enable SSH/SFTP access to the default bytesized user on the host but it would be nice to keep the isolation and brining this to Docker.

Filebot: Move filebot.sh into /config so it survives reinstalls

There are quite some customizations to be made to filebot.sh that will be lost during reinstalls. The rule for Docker should always be that a reinstall is safe. So let's move the filebot.sh into /config via bcd so users can change this without losing their tweaks.

App request Madsonic (its already mentioned on the main page?)

hi guys,
I been running madsonic on a vps for a while now powering my app, now i am shifting to dede server and trying to keep it as simple as possible, thus using bcd

now the official webpage mentioned subsonic, not madsonic, but here in github I saw madsonic mentions in the main project readme, so is it supported or not?
(and if yes how does it work ? are all the transcoding requirements also installed by default? what about updating an app?)

thanks in advanced
ahmad

BCD Install doesn't work anymore

@maran
Since the update 2 days ago, I see this:

matt@plex:~$ sudo APIKEY=**Key removed** APISECRET=**secret also nuked** bash < <(curl -fsSL https://download.bytesized-hosting.com/install-bcd)
No LSB modules are available.
===> 18:37:38.439 Found Ubuntu version 14.04
===> 18:37:38.442 Installing Docker
===> 18:37:38.446 running "apt-get update"
<...>
Reading package lists... Done
===> 18:38:08.018 running "apt-get install -y docker-engine"
Reading package lists... Done
Building dependency tree
Reading state information... Done
docker-engine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
===> 18:38:09.308 Downloading latest BCD release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13.8M  100 13.8M    0     0  18.4M      0 --:--:-- --:--:-- --:--:-- 18.4M
===> 18:38:10.088 running "chmod +x /usr/local/bin/bcd"
===> 18:38:10.094 Downloading latest BCD-Proxy release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10.3M  100 10.3M    0     0  17.0M      0 --:--:-- --:--:-- --:--:-- 17.0M
===> 18:38:10.727 running "chmod +x /usr/local/bin/bcd-proxy"
===> 18:38:10.734 Checking for bytesized user
===> 18:38:10.742 0 <- is status

===> 18:38:10.747 running "sudo -u bytesized /usr/local/bin/bcd init 589cad9bd1e40214df0000e2 9fa615d219326194ed7e090acc73029543ceaffb36586d16"
/usr/local/bin/bcd: 3: /usr/local/bin/bcd: Syntax error: word unexpected (expecting ")")

===> 18:38:10.786 ERROR: failed to run "sudo -u bytesized /usr/local/bin/bcd init 589cad9bd1e40214df0000e2 9fa615d219326194ed7e090acc73029543ceaffb36586d16", exit status 2
matt@plex:~$

What does bcd init call?

Find some way to bring Filebot in the mix

Right now we are depending on renaming from Sickrage/Sonarr and friends for content to be properly sorted. I would love to find a good way to bring Filebot into the mix.

Of course the most powerful solution is just to install Filebot system-wide, this way you can have all the freedom of the total filesystem.

However it would be fitting to also offer a dockerized way of running filebot. However since the paths inside of Docker are quite different from those on the outside this might be a problem. We also don't want to have to manually run Filebot every time but make it a service.

The first step would be to do some research to see how Filebot can be used inside a container while still having valid symlinks being created as I feel sym- and hardlinks are the best way to use Filebot.

The second step could be a separate binary that watches a given path for changes and then runs Filebot automatically on the changed files.

The third important thing is that it should follow the Connect laid our paths media/tv and media/movies.

ACME/AUTOCERT Broken - Will not register or fetch new certificates

I have been troubleshooting an issue where bcd-proxy will not fetch a certificate for my domain. After reviewing the debug logs for bcd-proxy I realized the issue was that bcd-proxy didn't support ACMEv2. This is an issue as ACMEv1 is being sunset by Let's Encrypt in favor of ACMEv2 (RFC 8555)

"2020/01/04 21:10:42 http: TLS handshake error from [REDACTED]:62383: 403 urn:acme:error:unauthorized: Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details."

I have created a patch to resolve this. I'll be submitting the pull request shortly.

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.