Installing concerto server using apt on latest Debian and Ubuntu

3,404 views
Skip to first unread message

dan...@palmqvist.se

unread,
Oct 4, 2017, 3:19:07 AM10/4/17
to Concerto Digital Signage
Hi,

I've tried to install Concerto server on fresh installs of Debian 9.1 and Ubuntu 17.04 using

 sudo curl -k get.concerto-signage.org/add_repo.sh | sh 
 sudo apt-get install concerto-full

The first command seems ok but installing the actual package results in the same error on both systems:

"The following packages have unmet dependencies: 
 concerto-full : Depends:  ruby-mysql but it is not installable
                        Depends: libmysqlclient-dev  but it is not installable
E: Unable to correct problems,you have held broken packages."


apt-cache search ruby-mysql  returns  a different package "ruby-mysql2"

Is there anything I can do to fix this?


Message has been deleted

RJ

unread,
Oct 27, 2017, 7:44:39 PM10/27/17
to Concerto Digital Signage
I'm having the exact same issue on a new Debian install. Those packages seem to no longer be available.
Message has been deleted

Klaus Vink Slott

unread,
Oct 28, 2017, 4:10:24 AM10/28/17
to Concerto Digital Signage
Hi

Having tried and given up on both the VM, and apt-get on a fresh Debian system, I gave up on those methods.

But by hacking my way trough the describedInstalling from Source procedure I managed to get a system running. I was only making a test setup so I did not document my actions much, so I base the following on my .bash_history

1: sudo apt-get install ruby2.3 zlib1g-dev build-essential imagemagick ruby-rmagick libmagickcore-dev libmagickwand-dev nodejs libruby2.3 libsqlite3-dev libmariadbclient-dev libmariadbclient18 git-core libxslt-dev apt-transport-https

2: sudo apt-get install apache2-mpm-worker libcurl4-openssl-dev libssl-dev zlib1g-dev apache2-prefork-dev libapr1-dev libaprutil1-dev
sudo apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev apache2-dev libapr1-dev libaprutil1-dev

sudo apt-get install mariadb

At some point I also did install som other stuff (not directly related to concerto I think)
sudo apt-get install -y curl gnupg build-essential
sudo apt-get install openssl
sudo apt-get install mycli
sudo apt-get install ruby-dev

Step 3.
I then made a user for concerto, created a directory at /var/www/concerto chown to concerto.
Change to user concerto and cd into the new dir  and do something like
git clone https://github.com/concerto/concerto.git code


skip 5.
Instead edit config/database.yml to suit your database setup. In my case I replaced it with database.yml.mysql and edited the production section to fit a new empty database in mariadb

step 6. I took a detour around Installing Passenger + Apache to insure that I had a working passenger running on Apache

In step 7. locate the systemd scripts and copy those to to systemd
sudo cp script/concerto-clock.service script/concerto-worker.service /etc/systemd/system/
Adjust WorkingDirectory, User and Group in both files

Disclaimer: The above is extracted from a lot of trial and error, so I very likely may have forgotten some actions 

--
Klaus
Reply all
Reply to author
Forward
0 new messages