# Discourse styleguide plugin fails

**URL:** https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027
**Category:** Support
**Tags:** unsupported-install
**Created:** [October 23, 2020, 12:33am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027 "2020-10-23T00:33:38Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![madmath03](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/madmath03/32/149802_2.png) [@madmath03](https://meta.discourse.org/u/madmath03)
#### Post date: [October 23, 2020, 12:33am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/1 "2020-10-23T00:33:39Z")

</div>

Got the following error on startup with [GitHub - discourse/discourse-styleguide: Adds a styleguide to Discourse to aid in styling · GitHub](https://github.com/discourse/discourse-styleguide)

```plaintext
discourse | discour INFO Migrating database...
discourse | Error executing 'postInstallation': > Seeding dark and light themes
discourse | rake aborted!
discourse | Discourse::ScssError: Error: Undefined variable: "$danger-low-mid".
discourse | on line 66 of plugins/discourse-styleguide/assets/stylesheets/colors.scss
discourse | from line 1 of plugins/discourse-styleguide/assets/stylesheets/styleguide.scss
discourse | from line 1 of theme_1.scss
discourse | >> background-color: var(--danger-low-mid, $danger-low-mid);
discourse | 
discourse | ------------------------------------------^
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:183:in `rescue in compile'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:171:in `compile'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:80:in `block (2 levels) in stylesheet_details'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:66:in `each'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:66:in `block in stylesheet_details'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:64:in `synchronize'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:64:in `stylesheet_details'
discourse | /opt/bitnami/discourse/lib/stylesheet/manager.rb:34:in `stylesheet_data'

```

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [October 23, 2020, 1:07am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/2 "2020-10-23T01:07:42Z")

</div>

It is possible that there is a bug in the plugin, but it looks like your Discourse site is installed on Bitnami. The issue you are finding could be related to Bitnami’s using an old version of Discourse.

I just installed the styleguide plugin on my up to date Discourse site without any issues.

---

<div class="post-metadata">

### Author: ![madmath03](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/madmath03/32/149802_2.png) [@madmath03](https://meta.discourse.org/u/madmath03)
#### Post date: [October 23, 2020, 1:21am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/3 "2020-10-23T01:21:10Z")

</div>

Discourse [2.5.3](https://github.com/discourse/discourse/releases/tag/v2.5.3), so I doubt it’s a Discourse version issue.

But it may be setup issue on Bitnami side, though I do not see anything specific.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 23, 2020, 1:57am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/4 "2020-10-23T01:57:59Z")

</div>

> [@madmath03](#):
>
> But it may be setup issue on Bitnami side,

Sorry, this is going to have be marked as #unsupported-install we do not support Bitnami here sadly.

Styleguide is now shipped with core, not in a separate plugin repo. (@j.jaffeux we may want to blank out that plugin repo)

---

<div class="post-metadata">

### Author: ![madmath03](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/madmath03/32/149802_2.png) [@madmath03](https://meta.discourse.org/u/madmath03)
#### Post date: [October 23, 2020, 2:06am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/5 "2020-10-23T02:06:54Z")

</div>

> Styleguide is now shipped with core, not in a separate plugin repo

In that case, this has nothing to do with Bitnami.  
It’s just I should not have requested install of this plugin since it’s already there by default (unless I misunderstood).

If that’s the case then, the GitHub repo should defintely mention it.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 23, 2020, 2:08am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/6 "2020-10-23T02:08:04Z")

</div>

So far, by my count, you’ve opened 3 support topics about an unsupported install.

Perhaps now you can understand why we have a standard way of installing and supporting Discourse. Our time is not free, just as I’m sure your time is not free.

---

<div class="post-metadata">

### Author: ![madmath03](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/madmath03/32/149802_2.png) [@madmath03](https://meta.discourse.org/u/madmath03)
#### Post date: [October 23, 2020, 2:20am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/7 "2020-10-23T02:20:38Z")

</div>

> Perhaps now you can understand why we have a standard way of installing and supporting Discourse. Our time is not free, just as I’m sure your time is not free.

@codinghorror I opened those tickets because I believed those were bugs in the commands or plugins themselves.  
I never asked for help regarding the install as I know you will NOT support it (I directly open issues to Bitnami for that).

Of course I understand your point, but I’m sure you can also understand that unfortunately the standard way you provide does not answer all needs. Though I would love to help improve it 😉

I’m not trying to make you lose time, I just wish to help by reporting what I believe might be issues in Discourse itself.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [October 23, 2020, 2:31am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/8 "2020-10-23T02:31:02Z")

</div>

To be clear we can’t offer any free support for any aspect of a third party installation, including plugins.

Third party packages can have all kinds of unintended and unpredictable side effects. As we can’t rule those out we can’t work through such issues. That’s just a step too far for the free assistance provided here.

If you insist on using something other than the [standard install](https://meta.discourse.org/t/142537?silent=true) your only support options are via the package maintainer, or via the #Marketplace.

---

<div class="post-metadata">

### Author: ![madmath03](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/madmath03/32/149802_2.png) [@madmath03](https://meta.discourse.org/u/madmath03)
#### Post date: [October 23, 2020, 2:36am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/9 "2020-10-23T02:36:43Z")

</div>

> To be clear we can’t offer any free support for any aspect of a third party installation, including plugins.

@Stephen Discourse styleguide is an official plugin maintained by Discourse, it’s not third party, but anyway… I get your point.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [October 23, 2020, 2:38am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/10 "2020-10-23T02:38:17Z")

</div>

But the site it’s being installed to _isn’t supported_, which is why we can’t help you.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 23, 2020, 2:55am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/11 "2020-10-23T02:55:48Z")

</div>

I don’t mean to come across as rude, all Discourse instances are a net positive to the world whether we host them or not.. but.. we have the policies we have (e.g. a [standard install](https://meta.discourse.org/t/142537?silent=true)) so that we _can_ support the open source installs effectively “for free”.

If you sign up for “hard mode” with a custom install, that’s not really our responsibility, and the resulting topics are more of a distraction than anything else.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [October 23, 2020, 7:26am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/12 "2020-10-23T07:26:23Z")

</div>

> [@sam](#):
>
> @j.jaffeux we may want to blank out that plugin repo

Done ✅ [GitHub - discourse/discourse-styleguide: Adds a styleguide to Discourse to aid in styling · GitHub](https://github.com/discourse/discourse-styleguide)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 22, 2020, 7:26am UTC](https://meta.discourse.org/t/discourse-styleguide-plugin-fails/168027/13 "2020-11-22T07:26:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
