carnivorouz / updateombi Goto Github PK
View Code? Open in Web Editor NEWBash script to update a Linux v4 of Ombi
License: GNU Affero General Public License v3.0
Bash script to update a Linux v4 of Ombi
License: GNU Affero General Public License v3.0
Hello,
Thanks for this script, but it does not work anymore :/
curl -s https://github.com/Ombi-app/Ombi/releases | grep "tar.gz" return void
I don't know how to fix, i'm not familiar with scripting
Hi, I just downloaded your script and it seems that Ombi have changed their download location to https://github.com/Ombi-app/Ombi/releases
just FYI as the change doesn't break your script but it ignores he latest version of the software
Cheers
Files in /opt/ombi did not change dates. After Ombi restarted, it remained on the old version.
Debian 9.
Installed v4 using instructions from Ombi's Wiki.
root@hosting:/opt/update_ombi4# ./updateOmbi.sh
2020-11-13 8:27:11 Updating ombi
Stopping ombi
2020-11-13 8:27:11 Creating temporary directory /opt/ombi/.4.0.698
2020-11-13 8:27:11 Downloading ombi
--2020-11-13 20:27:12-- https://github.com/tidusjar/Ombi.Releases/releases/download/v4.0.698/linux-x64.tar.gz
Resolving github.com (github.com)... 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/231988490/9ddcd600-243e-11eb-97f8-67b2a22dfafc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201114%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201114T042712Z&X-Amz-Expires=300&X-Amz-Signature=06ce87d6d2331fd6f06faf580a31e4c0935d8301dc91f719ddf24b5d0689fb5f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=231988490&response-content-disposition=attachment%3B%20filename%3Dlinux-x64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2020-11-13 20:27:13-- https://github-production-release-asset-2e65be.s3.amazonaws.com/231988490/9ddcd600-243e-11eb-97f8-67b2a22dfafc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201114%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201114T042712Z&X-Amz-Expires=300&X-Amz-Signature=06ce87d6d2331fd6f06faf580a31e4c0935d8301dc91f719ddf24b5d0689fb5f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=231988490&response-content-disposition=attachment%3B%20filename%3Dlinux-x64.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.168.227
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.168.227|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54580703 (52M) [application/octet-stream]
Saving to: ‘linux-x64.tar.gz’
linux-x64.tar.gz 100%[=================================================>] 52.05M 25.4MB/s in 2.0s
2020-11-13 20:27:15 (25.4 MB/s) - ‘linux-x64.tar.gz’ saved [54580703/54580703]
2020-11-13 8:27:11 Extracting linux-x64.tar.gz
2020-11-13 8:27:11 Shuffling directories
mv: cannot move '/opt/ombi/' to a subdirectory of itself, '/opt/ombi/./ombi'
mv: '/opt/ombi/.4.0.698' and '/opt/ombi/.4.0.698' are the same file
2020-11-13 8:27:11 Copying over files from /opt/ombi/.
cp: '/opt/ombi/./Ombi.db' and '/opt/ombi/Ombi.db' are the same file
cp: '/opt/ombi/./OmbiSettings.db' and '/opt/ombi/OmbiSettings.db' are the same file
cp: '/opt/ombi/./OmbiSettings.db' and '/opt/ombi/OmbiSettings.db' are the same file
cp: '/opt/ombi/./wwwroot/images/default_movie_poster.png' and '/opt/ombi//wwwroot/images/default_movie_poster.png' are the same file
cp: '/opt/ombi/./wwwroot/images/default-music-placeholder.png' and '/opt/ombi//wwwroot/images/default-music-placeholder.png' are the same file
cp: '/opt/ombi/./wwwroot/images/default_tv_poster.png' and '/opt/ombi//wwwroot/images/default_tv_poster.png' are the same file
cp: '/opt/ombi/./wwwroot/images/emby-logo-dark.png' and '/opt/ombi//wwwroot/images/emby-logo-dark.png' are the same filecp: '/opt/ombi/./wwwroot/images/emby-logo.png' and '/opt/ombi//wwwroot/images/emby-logo.png' are the same file
cp: '/opt/ombi/./wwwroot/images/favicon' and '/opt/ombi//wwwroot/images/favicon' are the same file
cp: '/opt/ombi/./wwwroot/images/icons_16.png' and '/opt/ombi//wwwroot/images/icons_16.png' are the same file
cp: '/opt/ombi/./wwwroot/images/logo original.png' and '/opt/ombi//wwwroot/images/logo original.png' are the same file
cp: '/opt/ombi/./wwwroot/images/logo.png' and '/opt/ombi//wwwroot/images/logo.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ms-icon-150x150.png' and '/opt/ombi//wwwroot/images/ms-icon-150x150.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ms-icon-310x310.png' and '/opt/ombi//wwwroot/images/ms-icon-310x310.png' are the same file
cp: '/opt/ombi/./wwwroot/images/plex-logo.png' and '/opt/ombi//wwwroot/images/plex-logo.png' are the same file
cp: '/opt/ombi/./wwwroot/images/plex-logo-reversed.png' and '/opt/ombi//wwwroot/images/plex-logo-reversed.png' are the same file
cp: '/opt/ombi/./wwwroot/images/[email protected]' and '/opt/ombi//wwwroot/images/[email protected]' are the same file
cp: '/opt/ombi/./wwwroot/images/slider_handles.png' and '/opt/ombi//wwwroot/images/slider_handles.png' are the same filecp: '/opt/ombi/./wwwroot/images/ui-bg_flat_0_aaaaaa_40x100.png' and '/opt/ombi//wwwroot/images/ui-bg_flat_0_aaaaaa_40x100.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_flat_75_ffffff_40x100.png' and '/opt/ombi//wwwroot/images/ui-bg_flat_75_ffffff_40x100.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_glass_55_fbf9ee_1x400.png' and '/opt/ombi//wwwroot/images/ui-bg_glass_55_fbf9ee_1x400.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_glass_65_ffffff_1x400.png' and '/opt/ombi//wwwroot/images/ui-bg_glass_65_ffffff_1x400.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_glass_75_dadada_1x400.png' and '/opt/ombi//wwwroot/images/ui-bg_glass_75_dadada_1x400.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_glass_75_e6e6e6_1x400.png' and '/opt/ombi//wwwroot/images/ui-bg_glass_75_e6e6e6_1x400.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_glass_95_fef1ec_1x400.png' and '/opt/ombi//wwwroot/images/ui-bg_glass_95_fef1ec_1x400.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-bg_highlight-soft_75_cccccc_1x100.png' and '/opt/ombi//wwwroot/images/ui-bg_highlight-soft_75_cccccc_1x100.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-icons_222222_256x240.png' and '/opt/ombi//wwwroot/images/ui-icons_222222_256x240.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-icons_2e83ff_256x240.png' and '/opt/ombi//wwwroot/images/ui-icons_2e83ff_256x240.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-icons_454545_256x240.png' and '/opt/ombi//wwwroot/images/ui-icons_454545_256x240.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-icons_cd0a0a_256x240.png' and '/opt/ombi//wwwroot/images/ui-icons_cd0a0a_256x240.png' are the same file
cp: '/opt/ombi/./wwwroot/images/ui-icons_ffffff_256x240.png' and '/opt/ombi//wwwroot/images/ui-icons_ffffff_256x240.png' are the same file
2020-11-13 8:27:11 Changing ownership to ombi
2020-11-13 8:27:11 Deleting /opt/ombi/.
rm: refusing to remove '.' or '..' directory: skipping '/opt/ombi/.'
2020-11-13 8:27:11 Starting ombi
root@hosting:/opt/update_ombi4#```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.