[ARCHIVED] Error while installing canvas sandbox environment on Ubuntu

zishan
Community Member

Hello experts,

I am an IT developer planning to build some analytics out of canvas data and blend it with other reports from Peoplesoft Campus solution. I need a dev/test version of the canvas application with sample data from where i can extract enrollment, course, grade. data using Rest API calls. Can some one help me with access to a pre-built sandbox environment where i can see some sample data to continue my analysis?

As a workaround I am trying to install a sandbox on Ubuntu 18.0. using below link (Automated setup), but it ran into issues while doing some operation on PostgreSQL. database. https://github.com/instructure/canvas-lms/wiki/Quick-Start

Below is the error log: 

+ apk add --no-cache bash coreutils file g++ git icu-dev imagemagick libffi-dev libxml2-dev libxslt-dev make 'postgresql-client~=12.2' 'postgresql-dev~=12.2' py2-pip python2 ruby-dev sqlite sqlite-dev tzdata xmlsec xmlsec-dev
fetch http://dl-cdn.alpinelinux.org/alpine//v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine//v3.11/community/x86_64/APKINDEX.tar.gz

ERROR: unsatisfiable constraints:
postgresql-client-12.4-r0:
breaks: world[postgresql-client~12.2]
postgresql-dev-12.4-r0:
breaks: world[postgresql-dev~12.2]
ERROR: Service 'jobs' failed to build:

The command '/bin/sh -c set -eux; chown docker:docker $APP_HOME && sed -i -E "s|http://dl-cdn.alpinelinux.org/alpine|${ALPINE_MIRROR}|g" /etc/apk/repositories && apk add --no-cache bash coreutils file g++ git icu-dev imagemagick libffi-dev libxml2-dev libxslt-dev make postgresql-client~=$POSTGRES_CLIENT postgresql-dev~=$POSTGRES_CLIENT py2-pip python2 ruby-dev sqlite sqlite-dev tzdata xmlsec xmlsec-dev && apk add --no-cache --virtual .pbzip2deps bzip2-dev && apk add --no-cache --repository http://mirrors.gigenet.com/alpinelinux/v3.10/main py2-lxml && cd /tmp/ && wget -q https://launchpad.net/pbzip2/1.1/1.1.13/+download/pbzip2-1.1.13.tar.gz && tar -xzf pbzip2-1.1.13.tar.gz && cd pbzip2-1.1.13/ && make install && apk del --no-network .pbzip2deps && cd $APP_HOME && rm -r /tmp/pbzip2-1.1.13/ && ln -s /usr/bin/python2 /usr/local/bin/python' returned a non-zero code: 2

Kindly help in resolving this issue.

 

Thanks and Regards,

Zishan Khan

Labels (2)
0 Likes