Git Product home page Git Product logo

hosted-scripts's Introduction

Hosted Scripts

This repo is a helper repo for Swizzin.net & HostingBy.Design appboxes. Here you will find additional scripts for installing frequently requested software that hasn't been baked into the real deal yet. Think of this as a beta of a beta. Some stuff might not work, but it's better than nothing at all. Some apps can have authentication configured by us, some can't. Some have no baseurl support, so we just run it on the port. There are no warranties for these scripts. You get whatever is here with no support guaranteed whatsoever.

DO NOT RUN THESE SCRIPTS ON DEDICATED SERVERS!

You should not run these scripts on servers running Swizzin Community Edition. This is meant for HostingBy.Design AppRange and Swizzin.net customers. If you DO NOT HAVE root on the server in question, you may consider using these. If you DO HAVE ROOT, please just yell in one of the Swizzin / HostingBy.Design support channels until I show up.

This script makes major modifications to how node is installed for some applications. It can break apps that are run in userland that require node.

Install

If you actually want all this stuff, you can grab the repository by doing

The Whole Enchilada

mkdir -p $HOME/scripts/
git clone https://github.com/brettpetch/hosted-scripts.git $HOME/scripts/hosted-scripts

Just a Slice

bash <(curl -sL "https://github.com/brettpetch/hosted-scripts/raw/master/scriptname.sh")

Updates

git -C $HOME/scripts/hosted-scripts pull

Development

Do you think you can do it better? Go nuts. PRs are welcome. Please ensure your permissions are set to 755 on commit.

Support

These scripts come with no support. If you have questions, feel free to ask them in their respective discords (dependant on vendor). Remember to respect the rules of the vendors in their discords and be respectful to community members lending their assistance.

For Swizzin.net Customers:

Discord

Documentation

Affiliate Link

For HostingBy.Design Customers:

Discord

Documentation

Affiliate Link

hosted-scripts's People

Contributors

barbabrossa avatar brettpetch avatar decafhotchocolate avatar khnielsen avatar redoxid avatar s0up4200 avatar thcrt 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  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

hosted-scripts's Issues

[BUG] Overseerr download fails.

What happened?

Steps to reproduce:

  1. Install package 'overseerr'
  2. Error 'Download failed'

Relevant logs and output

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
Installing latest LTS version.
v20.9.0 is already installed.
Now using node v20.9.0 (npm v10.1.0)

changed 1 package in 991ms
/home/root/overseerr.tar.gz: No such file or directory
=> nvm is already installed in /root/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /root/.bashrc
=> bash_completion source string already in /root/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
Installing latest LTS version.
v20.9.0 is already installed.
Now using node v20.9.0 (npm v10.1.0)

changed 1 package in 1s
/home/root/overseerr.tar.gz: No such file or directory

[BUG] sonarr4k install and uninstall fail

What happened?

Steps to reproduce:

  1. Install package '...'
  2. Go to '....'
  3. Error '...'

Expected results:

Relevant logs and output

This is unsupported software. You will not get help with this, please answer `yes` if you understand and wish to proceed
yes
Proceeding with installation
Welcome to The Sonarr 4K installer...

What do you like to do?
install = Install Sonarr 4K
uninstall = Completely removes Sonarr 4K
exit = Exits Installer
/dev/fd/63: line 120: syntax error near unexpected token `)'
/dev/fd/63: line 120: `        "uninstall")'

[Feature]: Migration Webhook

Create a webhook that will yell loudly into a slack channel to let staff know when the rsync command completes

  • Username
  • Hostname
  • Exit code

Additionally --

On the migration side, copy (cp -rl) old (non-hidden files) to home dir

bazarr4k

Not issue just if possible can you add bazarr4k to other scripts also will appreciate

[BUG] overseerr - `python` is not a valid npm option

What happened?

Steps to reproduce:

  1. Run curl command in README to install overseer
  2. Receive error during 'Installing dependencies via yarn': npm ERR! python is not a valid npm option

Expected results:
Installation should succeed.

Suspiciously related: https://stackoverflow.com/a/74523071/2402061
https://github.com/brettpetch/hosted-scripts/blob/master/overseerr.sh#L50 npm doesn't seem to like setting arbitrary config values as of some recent version, which is likely breaking this.

I also do have python installed and which python doesn't seem to error out when I run it manually so I am a bit confused why that if statement is triggering; may be mis config on my part though.

Relevant logs and output

nvm is already installed.
Node LTS installed.
Installing Yarn
Yarn installed.
Downloading and extracting source code
Code extracted
Installing dependencies via yarn
npm ERR! `python` is not a valid npm option

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/r/.npm/_logs/2023-04-04T21_13_25_987Z-debug-0.log

"enable authentication prior to setting it up"

In the Mylar3 script there's a line, at the end of the installation:

Mylar is now installed. Please be sure to enable authentication prior to setting it up

What do you mean by that? I ran the script, accessed the URL outputted in my console and it did not work. By this text, I don't know exactly what I should've done.

I'm running it in a HostingByDesign SSH

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.