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

Kolibri not starting after reboot [after downloading Kolibri Channels, on RPi] #1648

Open
kananigit opened this issue May 11, 2019 · 11 comments
Assignees
Milestone

Comments

@kananigit
Copy link

kananigit commented May 11, 2019

I installed Kolibri 0.12.2 by running the latest [pre-release of] IIAB 7.0 on a Raspberry Pi Model 3B. After the first reboot upon successful IIAB intall, i used Kolibri and even downloaded a couple channels to it. I later shut down the server and when i started it the next day kolibri did not start. Here are some of the screenshots.

image

/usr/local/kolibri/bin/kolibri start
image

Contents of /library/kolibri/server.log
image

@holta holta added the bug label May 11, 2019
@holta holta added this to the 7.0 milestone May 11, 2019
@holta
Copy link
Member

holta commented May 11, 2019

@arky @jredrejo @KW4NP are you familiar with kolibri.service failing to start as above?

The only real difference (I know of) between @kananigit's Kolibri failure and my own working — "systemctl status kolibri" works on my pre-release of IIAB 7.0 on RPi 3 B+ — is that he downloaded a few Kolibri channels — whereas I did not.

Is this possibly connected to learningequality/kolibri-installer-debian#66 ?

@holta holta changed the title Kolibri Not starting After Reboot Kolibri not starting after reboot [after downloading Kolibri Channels, on RPi] May 11, 2019
@holta holta added the question label May 11, 2019
@KW4NP
Copy link

KW4NP commented May 11, 2019

I did run into this issue when I had a problem with a malformed content database. Deleting the database seemed to be successful, but Kolibri would not start with systemd. I started it manually and let it run through the migrations and stopped it again, but on the next boot it did the same thing. The solution I found was to start it manually, make sure everything was set up (facility, etc.), and reboot the machine. I don't remember it just not starting with no prior problem, however.

@KW4NP
Copy link

KW4NP commented May 11, 2019

This one seems to be running an update routine for a new version - does Kolibri automatically update?

@holta
Copy link
Member

holta commented May 11, 2019

This one seems to be running an update routine for a new version - does Kolibri automatically update?

Not that I know of!

(What evidence of a Kolibri "update routine for a new version" are you seeing?)

@KW4NP
Copy link

KW4NP commented May 11, 2019

In the second picture

INFO   Running update routines for new version

@holta
Copy link
Member

holta commented May 11, 2019

What kind of (presumably offline?) update Kolibri is running on start is unclear. Googling "Running update routines for new version" does not give an immediate answer as to what this means.

Hopefully @jredrejo can shed more light...
...and on the larger question of how to diagnose kolibri.service when it won't start?

@kananigit
Copy link
Author

kananigit commented May 12, 2019 via email

@KW4NP
Copy link

KW4NP commented May 12, 2019

I found the instructions here https://github.com/iiab/iiab/blob/master/roles/kolibri/README.rst
Note that this should be run as root - not using sudo.

@jredrejo
Copy link

This one seems to be running an update routine for a new version - does Kolibri automatically update?

No, it does not. The routine you mention is to update the database models after a kolibri update.

@holta
Copy link
Member

holta commented May 13, 2019

@kananigit can you please try @benjaoming's suggestion at learningequality/kolibri-installer-debian#66 (comment) ?

Specifically, can you install a smaller-than-MIN-sized IIAB 7.0 pre-release — but first set most all apps' variables to _install: False and _enabled: False in /etc/iiab/local_vars.yml — prior to launching sudo iiab ?

(Or if you prefer ./runrole kolibri all alone?)

Either way please let us know whether Kolibri's service continues to fail or not, Thanks !

@holta
Copy link
Member

holta commented Dec 28, 2019

@kananigit have you experienced this in the last 7 months?

Thanks for clarifying please — whether your experiences are in Kenya, UK, or USA or wherever!

@holta holta modified the milestones: 7.1, 7.2 Jan 4, 2020
@holta holta modified the milestones: 7.2, 8.0 Sep 10, 2020
@holta holta removed this from the 8.0 milestone Jan 1, 2022
@holta holta added this to the 8.1 milestone Jan 1, 2022
@holta holta modified the milestones: 8.1, 8.2 Jan 1, 2023
@holta holta modified the milestones: 8.2, 8.3 Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants