Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Nov 07 10:25
    frederik opened #4975
  • Nov 06 15:15
    frederik commented #4843
  • Oct 24 08:54
    scipe synchronize #4960
  • Oct 24 06:32

    MadeByMike on master

    Update Version5.js (compare)

  • Oct 24 01:31

    MadeByMike on master

    Update README.md (compare)

  • Oct 23 23:45

    MadeByMike on master

    fix banner for v5 Merge branch 'master' into upda… Merge pull request #4974 from k… (compare)

  • Oct 23 23:45
    MadeByMike closed #4974
  • Oct 23 23:44
    MadeByMike synchronize #4974
  • Oct 23 23:44

    MadeByMike on update-website-to-v4

    Merge pull request #4972 from k… Merge branch 'master' into upda… (compare)

  • Oct 23 23:44
    MadeByMike opened #4974
  • Oct 23 23:44

    MadeByMike on update-website-to-v4

    fix banner for v5 (compare)

  • Oct 22 07:13
    jelordreygulle commented #1630
  • Oct 21 16:51
    dfinton opened #4973
  • Oct 21 08:41
    gautamsi locked #2265
  • Oct 21 08:41
    gautamsi commented #2265
  • Oct 21 08:33
    NeoTheSecond commented #2265
  • Oct 21 06:19

    MadeByMike on master

    Update website content Merge pull request #4972 from k… (compare)

  • Oct 21 06:19
    MadeByMike closed #4972
  • Oct 21 04:04
    MadeByMike opened #4972
  • Oct 21 04:03

    MadeByMike on update-website-to-v4

    Update website content (compare)

Has anyone had a problem like this before?
Deep Vora
Keystone chat has moved to keystonejs.slack.com better ask there
i am stuck on how to assign a specific user to manage a specific model in keystoneJs. only the user can be able to create,update,delete
James Allen

Hi all, its been a while since I've done anything with Keystone and am wanting to update an old 0.3 version app to the latest. I'm having some issues with the new File storage adapters... previously in my models I had:

  audio: { type: Types.S3File, collapse: true, allowedTypes:['application/mp4', 'application/mp3'] }

which I have moved over to the File adapter, but it is the pre hook I can't seem to find, nor reference to them being deprecated

Sermon.fields.audio.pre('upload', function(item, file, next) {

now gives me:

TypeError: Sermon.fields.audio.pre is not a function
Dmitry Grigorov
Hi guys! How do you usually contribute keystone ? I mean how do you start project in dev mode ?
I just installed keystonejs using Docker-compose on Ubuntu 16. I have apache2 with letsencrypt. I have enabled the ssl. And now when I start the app it shows that my HTTP app is on 3000 and HTTPS is on 3001. But when I go to the domain from browser it shows (!) not properly secured
I tried pointing the ssl.conf files to 3001 ... using
ProxyPass / http://localhost:3001/
ProxyPassReverse / http://localhost:3001/
ProxyPreserveHost On
But it did not work
Here is my keystone.js SSL part:
'ssl': true
'port': 3000,
    'admin path': 'admin',
    'ssl cert': '/etc/letsencrypt/live/domain.com/fullchain.pem',
    'ssl key': '/etc/letsencrypt/live/domain.com/privkey.pem',
    'letsencrypt': (process.env.NODE_ENV === 'production') && {
        email: 'user@gmail.com',
        domains: ['www.domain.com', 'domain.com'],
        register: true,
        tos: true,
Hi. Is there any example on how to use GridFS or simular instead of CloudinaryImage for saving images?
Yashaswi Maharshi
Yashaswi Maharshi
Create an rest api for inserting data from the frondend, the api get hit, but insert the blank field in the db
let data = req.method === 'POST' ? req.body : req.query;
let newEmailSubscriber = new EmailSubscriberList.model();
EmailSubscriberList.updateItem(newEmailSubscriber, req.body, function (err) {
if (err) return res.status(500).json({ error: err });
message: 'Successful',
can someone help me out, what is the issue in it
Yashaswi Maharshi
Thanks I got the solution
Hi everyone
Can someone gelp
I just installed keystone-react
Launched mongod
But keystone do not init
It was suppose to be this issue:
But still not working
Any idea ?
Dan Black
hi there! new to keystone, i'm a little confused about user login. everything in demo seems to be about the admin login... how do i get the user login / account creation stuff up? any good parts of the docs I'm missing? sorry if it's obvious. thanks!
if user li: a(href='/keystone') Admin UI li: a(href='/keystone/signout') Sign Out else li: a(href='/keystone/signin') Sign In
is that how we want users to log in? i am missing something!
Dan Black
i guess so
Michael O'Keeffe
Is there a workflow in place for repairing dependency vulnerabilities?
found 10 vulnerabilities (5 low, 5 moderate) in 6529 scanned packages
10 vulnerabilities require manual review. See the full report for details.
Hi @dyspop, just learning KS (and Javascript!) as well, I think the SydJS website is a great place to start to learn more advanced features, as it's available on GitHub. You find it along with other examples (not opensource though) on the KS examples page: https://v3.keystonejs.com/examples
Hey Guys, I'm not finding any docs, guide or resource on how to use custom view engines on Keystone. The one for handlebars seems like it's been abandoned for over 2 years so I'm trying to use an alternate hbs library
Yashaswi Maharshi
Hey guys, I am doing signin / signout of the user using APIs, does any knows what is the default session timeout and how can we change it
Shakti Singh
Hi Below Code is working fine in local server but it is not working in live server
$params = (array) json_decode(file_get_contents('php://output'), TRUE);
what can be the issued
Hi everybody. I'm new to keystone. I have a question. How can I download uploaded files from keystone admin UI? I see only file name with extension in the list item field but I couldn't download it
    `var q = keystone
            page: req.query.page || 1,
            perPage: 2,
            maxPages: 5,
        .where('state', 'published')
        .populate('author cateservice');

    if (locals.data.categories !== null && locals.data.categories._id) {
I try to paging but look, Keystone query all post without condition from model
Hi, Am new to Keystone. Can anyone help me in integrating keystone with Already Existing Express App.
Mitul Patel
Why you want to integrate it in Express App ?
Can you please explain your usage of @hari-zeptoh
@mitul69 we need a cms module for our app
Mitul Patel
Ok then why need express
App is for the mobile or web app.
Its not a app just a community page. We have buit it already in Express now we need a CMS for that
How can i use ejs insted of pug?
Just install it with npm and pass it’s name to keystone initial config as string, as I remember
Mitul Patel
When you create new app then it will ask for the template engine please select ejs .
I have selected ejs but in ketstone.js file shows pug only
@gerhr If i install ejs using npm after that i need to change all the pug files a ejs