Self hosting doesn't install on Ubuntu 16.04

104 views
Skip to first unread message

Nasir Khan

unread,
Jul 8, 2016, 3:29:25 PM7/8/16
to Open Badges Dev Group
Hello,

I believe the Open Badges project is live.

I tried to install the self-hosted Badgekit and failed. I tried to install on Ubuntu 16.04.

Here is the error log http://paste.ubuntu.com/18811324/. I got these errors while i run the command npm install

need a solution to run the code.

Though i reported this issue on Github (https://github.com/mozilla/openbadges-badgekit/issues/490), but i think here i might get the solution earlier


thanks
Nasir Khan
http://nasirkhn.com

Nate Otto

unread,
Jul 11, 2016, 6:28:59 PM7/11/16
to Open Badges Dev Group
Thanks for asking, Nasir --

Badgekit is not currently maintained by Mozilla, so unfortunately, the list of node modules to install has not been recently updated. It indeed does seem to be having some issues with npm install.

http://openbadges.github.io/openbadges.org-static/about/participating-services/#open-source There are a couple other open source solutions available for awarding badges, as seen here on the forthcoming draft for the redesign of openbadges.org

Nate Otto
Director of Technology, Badge Alliance

mla...@agiweb.org

unread,
Dec 5, 2017, 4:36:37 PM12/5/17
to Open Badges Dev Group
and now the openbadges.github.io link you provided is a 404.

I have been trying to figure out how to host our own badges for a week now, and it's an unending rabbit hole of confusion. 

The mozilla guide was very well documented and easy to follow, but it failed for me as well
i made it to 

    bin/db-migrate up

before it failed for me

is there any way to host our own badges? 

~mark

Nate Otto

unread,
Dec 5, 2017, 5:50:38 PM12/5/17
to mla...@agiweb.org, Open Badges Dev Group
Oh hi, Mark!

Since I published the last message, the openbadges.org site got updated, so now the path https://openbadges.org/about/participating-services/#open-source is functional.

I'm the lead author of the Badgr-server package, which is the current leading open source issuing solution. We are currently a little out of date on our GitHub and getting new repos online for a open source relaunch in January (has unfortunately slipped a couple months as we wrap up the final refactors it needs to clean up to get ready for release). Some partners have been working with us on some prerelease versions of the new code that's currently running on Badgr.io

Nate Otto
Director, Open Badges, Concentric Sky
he/him/his

--
You received this message because you are subscribed to a topic in the Google Groups "Open Badges Dev Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openbadges-dev/2S8ajped7lU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openbadges-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mla...@agiweb.org

unread,
Dec 6, 2017, 9:52:10 AM12/6/17
to Open Badges Dev Group
Hi Nate,
 
Thanks for the reply, and the info. I was hoping for a nice comprehensive set of instructions for installing Badgr-server, not just how to set up a development server. 

Additionally, is the change you are trying to push so significant that I might as well wait until the new release? 

Thanks,
~mark

Nate Otto

unread,
Dec 6, 2017, 12:02:15 PM12/6/17
to Open Badges Dev Group
It is a very significant upgrade. Rather than clog a bunch of people's inboxes on the list, I'll reply to you off-list to see if we can set up a meeting to answer your questions.

Nate Otto
Director, Open Badges, Concentric Sky
he/him/his

Rayshorn Richardson

unread,
Dec 14, 2017, 8:43:47 AM12/14/17
to Open Badges Dev Group
Hello Mark,

For me I use a Drupal core installation call Opigno LMS, since it is self hosted I am able to create and host my own badges and forward them to Mozilla backpack. It has some limitations of course but you can create any amount of badges you want unlike the other LMS's I researched. You can take a look at it if that helps you.

Neil Mastroianni

unread,
Jul 4, 2018, 8:02:31 AM7/4/18
to Open Badges Dev Group
Hello everyone,

My name is Neil and I am an education/technology specialist. I've recently set a goal of using micro-credentials in my district and I am SUPER excited about this open badges technology. I've followed the tutorial where I award myself a badge that I baked myself. I've imported into Mozilla and now Badgr.io. As Badgr.io's privacy policy clearly states that there service is not designed for children, the self-hosted option is our ONLY option.

Quick disclaimer, I'm new to Python/OpenBages. I have experience with setting up self-hosted "apps" like wordpress, but I haven't done anything as involved as setting up a Badgr self-hosted installation. I was wondering if anyone here could answer a few questions:
  1. I see that badgekit is not maintained (according to Nate - and the lack of updates to its github). Does that mean that this whole open badge thing is dying?

  2. I noticed the Badgr-server github instructions specify using an Ubuntu 12.04 (I think that's Precise) which is no longer supported. I went with a virtual install of a new version and when I tried the 
    pip install requirements.txt
    I received errors (due to the versions of the modules being old). For instance, Badgr wants Django==1.11.13 but if I just ran pip install Django it installed 1.11.14 just fine. So my question is: Is there a way to install all the specified versions without the error?

  3. Is there any good tutorial/video/post that you know of that walks someone through the creation of a self-hosted Badgr installation? I haven't had much luck.
I'm hoping this is not dead and the the internet will prevail. Thank you in advance.

Nate Otto

unread,
Sep 25, 2018, 5:41:48 PM9/25/18
to Open Badges Dev Group
Hi, Neil 

For folks who have specific questions about Badgr, I recommend using a Badgr-specific forum instead of this one where we often don't see the messages. You should not generally install different versions of specified dependencies without running the risk of creating additional issues through incompatibility, but upgrading patch releases of a dependency is often safe. If your pip cannot install a particular version of a dependency in the overall process, you can often get a more precise error message by trying to install just that item. "pip install 'django==1.11.13'" would be the way to install a particular version from the command line for instance.

If you continue having issues, feel free to create an issue on our tracker: https://github.com/concentricsky/badgr-server/issues or email he...@badgr.io -- we don't specifically support open source users via our free support channel, but if it results in us discovering an improvement to our documentation or code to fix your issue, we'll help right out. Additionally, if you discover that a particular requirement upgrade makes the pip install -r requirements.txt process work for your environment, pull requests are also welcome.

Nate Otto
Director, Badgr Platform, Concentric Sky
he/him/his
Reply all
Reply to author
Forward
0 new messages