Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Dec 28 2022 23:34
    mexdevelop closed #5004
  • Dec 19 2022 12:07
    hermesalvesbr commented #4977
  • Nov 23 2022 01:47
    trentmillar closed #5011
  • Nov 23 2022 01:45
    trentmillar opened #5011
  • Nov 20 2022 15:13
    Enzaik commented #3994
  • Nov 20 2022 15:13
    Enzaik commented #3994
  • Sep 13 2022 13:31
    brooksbecton commented #59
  • Aug 30 2022 10:36
    VoronV48 commented #1069
  • Aug 30 2022 10:35
    VoronV48 commented #1069
  • Aug 30 2022 10:35
    VoronV48 commented #1069
  • Aug 24 2022 03:37
    VoronV48 commented #5001
  • Aug 17 2022 11:00
    emollett closed #5010
  • Aug 17 2022 11:00
    emollett opened #5010
  • Aug 17 2022 10:31
    emollett closed #5009
  • Aug 17 2022 10:31
    emollett opened #5009
  • Jul 27 2022 18:26
    taswarabbassss commented #3994
  • Jul 20 2022 18:58
    jamiebuilds closed #4136
  • Jun 17 2022 05:20
    jossmac unassigned #3262
  • Jun 14 2022 20:06
    jupazave closed #4555
  • Mar 18 2022 16:42
    apfel-das commented #3994
It kind of just sits there until ^C.
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