Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with: '-fsSL' #39

Open
mike-ua opened this issue Apr 10, 2023 · 6 comments
Open

error with: '-fsSL' #39

mike-ua opened this issue Apr 10, 2023 · 6 comments
Labels
1-week-review Issues that we'll look at again in a week, to potentially close

Comments

@mike-ua
Copy link

mike-ua commented Apr 10, 2023

Hi,
I'm trying to install on Ubuntu 22.04 (fully updated just before starting, new install, nothing custom), I found similar instruction on several sites, here is one:
https://computingforgeeks.com/install-redash-data-visualization-dashboard-on-ubuntu/

The first step is:

"Run the following commands to install Docker on Ubuntu 22.04/20.04/18.04:"

sudo apt update 
sudo apt -yy install apt-transport-https ca-certificates curl software-properties-common wget pwgen
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker-archive-keyring.gpg
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update && sudo apt -y install docker-ce docker-ce-cli containerd.io

To which I get the following error:
"Command line option 'S' [from -fsSL] is not understood in combination with the other options"

I tried several variants (-fSSL, -fssL, -fSL, etc.) but nothing seemed to work.

Any ideas? (I have very little knowledge of the CLI)
Thanks,
Mike

@mike-ua
Copy link
Author

mike-ua commented Apr 10, 2023

ok, I've gotten a little farther as I realized that was 4 separate commands, not one!
As I mentioned, I'm a Command line 'Cut & Paster'!!!

The Docker page seems to have helped a bit https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
But now getting the 'The following signatures could not be verified...", so tried the 'echo' command on the Docker page, didn't seem to do anything, now I have to figure out how to get my command prompt back!

Didn't plan on taking courses on Servers and Command Line to be able to use ReDash.

Any plans for ReDash could be bundled up into Softaculous 1-Click App Installer?

@snickerjp
Copy link
Member

PR #44 has been merged and is new.

@mike-ua Could you please try again?

@justinclift
Copy link
Member

justinclift commented Aug 22, 2023

Any plans for ReDash could be bundled up into Softaculous 1-Click App Installer?

Not in the short term. It might be possible down the track though, as we improve the operating experience.

Running software like Redash (properly) means we need to figure out ways for people to easily make backups, investigate anything that goes wrong, etc. We still need to work those out first. 😄

@snickerjp
Copy link
Member

I tested it.
It worked in both 20.04 and 22.04 without any script modifications.

test log 22.04
ubuntu@ubuntu2204-redash:~$ cat /etc/*release |grep VERSION=
VERSION="22.04.3 LTS (Jammy Jellyfish)"
ubuntu@ubuntu2204-redash:~$ git clone https://github.com/getredash/setup.git
Cloning into 'setup'...
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (105/105), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 109 (delta 50), reused 82 (delta 43), pack-reused 4
Receiving objects: 100% (109/109), 33.14 KiB | 16.57 MiB/s, done.
Resolving deltas: 100% (50/50), done.
ubuntu@ubuntu2204-redash:~$ cd setup/
ubuntu@ubuntu2204-redash:~/setup$ sh setup.sh 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.22.04.1).
ca-certificates set to manually installed.
=== SKIP ===
 ✔ Container redash-redis-1     Started         0.4s 
[2023-08-22 16:44:09,559][PID:1][INFO][alembic.runtime.migration] Context impl PostgresqlImpl.
[2023-08-22 16:44:09,559][PID:1][INFO][alembic.runtime.migration] Will assume transactional DDL.
[2023-08-22 16:44:09,572][PID:1][INFO][alembic.runtime.migration] Running stamp_revision  -> e5c7a4e2df4d
[+] Running 6/6
 ✔ nginx 5 layers [⣿⣿⣿⣿⣿]      0B/0B      Pulled 3.8s 
   ✔ 2bb30e6532d8 Pull complete                 2.6s 
   ✔ a3ed95caeb02 Pull complete                 2.6s 
   ✔ 089eaed11798 Pull complete                 3.5s 
   ✔ 6114b204585d Pull complete                 3.5s 
   ✔ 571c4c139c59 Pull complete                 3.6s 
[+] Running 7/7
 ✔ Container redash-postgres-1          Running 0.0s 
 ✔ Container redash-redis-1             Running 0.0s 
 ✔ Container redash-server-1            Started 0.7s 
 ✔ Container redash-scheduled_worker-1  Started 0.6s 
 ✔ Container redash-adhoc_worker-1      Started 0.4s 
 ✔ Container redash-scheduler-1         Started 0.7s 
 ✔ Container redash-nginx-1             Started 1.2s 
ubuntu@ubuntu2204-redash:~/setup$ 
test log 20.04
ubuntu@ubuntu2004-redash:~$ cat /etc/*release | grep VERSION=
VERSION="20.04.6 LTS (Focal Fossa)"
ubuntu@ubuntu2004-redash:~$ git clone https://github.com/getredash/setup.git
Cloning into 'setup'...
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (105/105), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 109 (delta 50), reused 82 (delta 43), pack-reused 4
Receiving objects: 100% (109/109), 33.14 KiB | 33.14 MiB/s, done.
Resolving deltas: 100% (50/50), done.
ubuntu@ubuntu2004-redash:~$ cd setup/
ubuntu@ubuntu2004-redash:~/setup$ sh setup.sh 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.20.04.1).
ca-certificates set to manually installed.
=== SKIP ===
[2023-08-22 16:57:28,515][PID:1][INFO][alembic.runtime.migration] Running stamp_revision  -> e5c7a4e2df4d
[+] Running 6/6
 ✔ nginx 5 layers [⣿⣿⣿⣿⣿]      0B/0B      Pulled 3.2s 
   ✔ 2bb30e6532d8 Pull complete                 2.1s 
   ✔ a3ed95caeb02 Pull complete                 2.1s 
   ✔ 089eaed11798 Pull complete                 2.9s 
   ✔ 6114b204585d Pull complete                 3.0s 
   ✔ 571c4c139c59 Pull complete                 3.0s 
[+] Running 7/7
 ✔ Container redash-redis-1             Running 0.0s 
 ✔ Container redash-postgres-1          Running 0.0s 
 ✔ Container redash-adhoc_worker-1      Started 0.5s 
 ✔ Container redash-server-1            Started 0.7s 
 ✔ Container redash-scheduler-1         Started 0.6s 
 ✔ Container redash-scheduled_worker-1  Started 0.6s 
 ✔ Container redash-nginx-1             Started 1.2s 
ubuntu@ubuntu2004-redash:~/setup$ 

@justinclift justinclift added the 1-week-review Issues that we'll look at again in a week, to potentially close label Aug 22, 2023
@mike-ua
Copy link
Author

mike-ua commented Aug 23, 2023

yes, but with the help of @justinclift I was able to use the automatic installer script which did work, except that I have discovered an issue with my server, not Redash. getredash/redash#6365 I will most likely wipe the server and start from zero (over the weekend)

@mike-ua
Copy link
Author

mike-ua commented Aug 23, 2023

Any plans for ReDash could be bundled up into Softaculous 1-Click App Installer?

Not in the short term. It might be possible down the track though, as we improve the operating experience.

Running software like Redash (properly) means we need to figure out ways for people to easily make backups, investigate anything that goes wrong, etc. We still need to work those out first. 😄

The reason why I mentioned 'Softaculous' for a few reasons:

  1. it makes on-boarding of new users significantly easier (I discovered and used/use Tiki (tiki.org) CMS only because of this, it's a significant piece of software (monolith) that uses databases - I would not have gotten it up and running at the time without 'Softaculous')
  2. it opens up on-boarding to all hosting around the world (Digital Ocean is predominantly U.S. based, but they are expanding, of course)
  3. many users already have hosting (and most hosting platforms offer 'Softaculous') so no need to start an additional hosting.
    Anyways, just a few ideas to keep in mind for future possibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-week-review Issues that we'll look at again in a week, to potentially close
Projects
None yet
Development

No branches or pull requests

3 participants