Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running Screenly OSE on Raspberry Pi Desktop for x86 (PC) - instructions [this is not supported - this is a hack to get it to work]

NOTE: These are not official instructions for the getting Screenly OSE to run on Raspberry Pi Desktop for x86 machines. This was a hack. These instructions are not supported. I posted them here to remember the steps I took to get it to work. Use at your own risk.

Step 1

  • Load Wifi deb files onto USB
  • Install Raspberry Pi Desktop for x86 PC - Raspberry Pi Debian Stretch - 2019-04-11-rpd-x86-stretch.iso

Step 2

Add the following blank files to the your PC...

sudo touch /boot/cmdline.txt

if /boot/config.txt does NOT exist, then add that file... sudo touch /boot/config.txt

In your home folder /home/pi create a .cache folder if it doesn't already exist. And in that folder create a pip/http folder with the pi user permissions.

And then update, your raspi-config by running sudo raspi-config to enable ssh

Step 3

After install, login to Raspberry Pi Desktop, before running updates, update sources list with updated Debian Stretch sources so it will keep from hash mismatches. https://debgen.simplylinux.ch/

#------------------------------------------------------------------------------#
#                   OFFICIAL DEBIAN REPOS                    
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://deb.debian.org/debian/ oldstable main contrib non-free
deb-src http://deb.debian.org/debian/ oldstable main contrib non-free

deb http://deb.debian.org/debian/ oldstable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ oldstable-updates main contrib non-free

deb http://deb.debian.org/debian-security oldstable/updates main
deb-src http://deb.debian.org/debian-security oldstable/updates main

deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main

Step 4

Run...

sudo apt-get update && \
    sudo apt-get -y install \
        build-essential \
        curl \
        ffmpeg \
        git-core \
        libffi-dev \
        libssl-dev \
        lsb-release \
        mplayer \
        mpv \
        net-tools \
        procps \
        python-dev \
        python-gobject \
        python-imaging \
        python-netifaces \
        python-simplejson \
        python3-dev \
        python3-netifaces \
        python3-simplejson \
        sqlite3 \
    && \
    sudo apt-get clean

Step 5

Clone Screenly OSE repo in your home directory, /home/pi

git clone https://github.com/Screenly/screenly-ose.git screenly

and edit the ansible file, /ansible/roles/system/tasks/main.yml> and under Install Screenly Dependencies, remove omxplayer and replace it with mplayer

Step 6

Go to the /home/pi/screenly directory and run bin/run_upgrade.sh.

Answer the following questions...

Do you still want to continue? (y/N) Y

Would you like to use the experimental branch? It contains the last major changes, such as the new browser and migrating to Docker (y/N) N

Would you like to use the development branch? You will get the latest features, but things may break. (y/N) N

Would you like to install the WoTT agent to help you manage security of your Raspberry Pi? (y/N) N

Do you want Screenly to manage your network? This is recommended for most users because this adds features to manage your network. (Y/n) Y

Would you like to perform a full system upgrade as well? (y/N) N

Step 7

After the installation is complete,

You need to reboot the system for the installation to complete. Would you like to reboot now? (y/N) Y

@mattbrad2
Copy link

mattbrad2 commented Dec 21, 2020

Seems this is missing a step. After it reboots, it goes back to the Raspberry Pi desktop UI. Screenly isn't running.

@glenlarkin
Copy link

glenlarkin commented Feb 15, 2021

Same result on my copy of Raspberry Pi Desktop. After preforming these steps, my computer reboots to the raspberry pi Desktop and the web interface in inaccessible.

@bzerangue
Copy link
Author

bzerangue commented Feb 15, 2021

Sorry. I left these instructions ultimately for myself when I got them it to work, 2 years ago. These are not supported instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment