GithubHelp home page GithubHelp logo

muhlisbc / discourse-images-guardian Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 2.3 MB

Discourse plugin that would prevent non-authenticated users from accessing uploaded images

License: GNU General Public License v2.0

HTML 81.94% Ruby 18.06%

discourse-images-guardian's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

chriscroome

discourse-images-guardian's Issues

Discourse rebuild fails with this plugin enabled

With this plugin enabled doing:

git pull
./launcher rebuild app

Fails with:

185:M 13 Mar 2019 13:27:05.267 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 422 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
0944e42e48c4560b449e8210bcf47abc05b3526cc0e71a1920f3d17c6526a0d4
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

When these two lines are commented out in containers/app.yml:

          # - git clone https://github.com/muhlisbc/discourse-images-guardian.git
          # - erb /var/www/discourse/plugins/discourse-images-guardian/nginx.sample.conf.erb > /var/www/discourse/config/nginx.sample.conf

Then the app can be rebuilt.

@muhlisbc do you have any idea what the problem might be here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.