Unsupported Distribution?

Hello,

I tried to send an email ask if i could install on Centos 6.7 but all i got was a reply that said “you are free to download and install for yourself.”

so i tried the easy install. I got the following message

wget address-to setup_frappe.sh
–2016-02-17 09:46:16-- address-to/setup_frappe.sh
Resolving raw.githubusercontent.com… 23.235.44.133
Connecting to raw.githubusercontent.com|23.235.44.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 14064 (14K) [text/plain]
Saving to: `setup_frappe.sh’

100%[======================================>] 14,064 --.-K/s in 0s

2016-02-17 09:46:16 (651 MB/s) - `setup_frappe.sh’ saved [14064/14064]

paulbo@boudreaupaul.com [~]# bash setup_frappe.sh --setup-production
Installing for amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Unsupported Distribution

Also I’m trying to install on a web host where i dont have root access, so sudo is not available.

You need a sudo access because it will install packages

I am also getting this error running a yosemite 10.10.4 installation of macosx locally on an imac. Here is the output from running the commands in the Easy Setup/For Production section of the Bench readme.

imac:~ chris$ curl "https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh" -o "setup_frappe.sh"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14155  100 14155    0     0  10999      0  0:00:01  0:00:01 --:--:-- 11006
imac:~ chris$ sudo bash setup_frappe.sh --setup-production
Installing for amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Unsupported Distribution
imac:~ chris$

I’ve just encountered the same error with a Macbook Pro on El Capitan 10.11.5 but with setting up bench for development.

curl "https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh" -o  "setup_frappe.sh"
sudo bash setup_frappe.sh --bench-branch develop
Installing for amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Unsupported Distribution

@nathan_dole use the beta installer (https://github.com/frappe/bench)

1 Like

@rmehta Thank you for the new installer using ansible. It works great in production. On Mac OS X to setup development environment. It got some problem with wkhtmltopdf version

TASK [cask installs] ***********************************************************
failed: [localhost] (item=wkhtmltopdf) => {"failed": true, "item": "wkhtmltopdf", "msg": "Error: Download          
failed on Cask 'wkhtmltopdf' with message: 
Download failed: https://bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/wkhtmltox-0.12.3-dev-79ff51e_osx-cocoa-x86-64.pkg"}

The particular versions was removed from the downloadable list https://bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/. Is there a quick way to change the version/ fix this ?

You can edit the playbook, substituting URL for download with http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_osx-cocoa-x86-64.pkg ¹

¹ http://wkhtmltopdf.org/downloads.html


Addition: I wanted to make a PR with a new URL, but failed to find the playbook for macOS. Is it supposed to be here?

thank you! But actually in the repo it did not specify a particular version for wkhtmltopdf on Mac, only Ubuntu, Debian and CentOS. I’ve digged into the Mac’s playbook and realized that it use homebrew cask to install.

- name: cask installs
  homebrew_cask: name={{ item }} state=present
  with_items:
      - wkhtmltopdf

And just so it happen that my brew cask is outdated. So updating those fixed the issue:

brew update
brew cask update
1 Like