Discussions

Ask a Question

User guide

Hi, Do you have a user guide for the actual usage of the CMS? I mean the daily usage, content publishing, etc.

How to add custom extensions (gems) with LocomotiveCMS hosting

Is it possible to add custom gem extensions to the engine while using Locomotive CMS hosting solution. And if so, how can it be done ?
ANSWERED

How do i reset a user in the Administrator section

i am trying to add a member from my team to our production site so she can upload content. when i tried to add the user it said her email is already in use, but i didn't see the user on the list of administrators. I thought maybe it was because the user was in our QA site already so i removed the user from our QA site and tried again. I got the same message that the her email was in use. When i went to add the user back to our QA site i got the same message again saying the users email was already in use. Is there a way to remove the users email completely or reset the user so we can get them back in and able to upload content to the site?

Automatic Backup

I see we have automatic back-ups set up for our site on Locomotive, but the last one completed was in 2018 - How can we set this up to automatically back-up the site daily again? It looks like it is all set to do so, but just isn't.
ANSWERED

cannot deploy Portfolio example

Pushing Site persisting MyPortfolio [failed] Resource invalid: metafields_schema Invalid metafields_schema: "767: unexpected token at ''". Check it out on http://jsonlint.com Resource invalid: metafields_schema Invalid metafields_schema: "767: unexpected token at ''". Check it out on http://jsonlint.com /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_coal-1.0.0/lib/locomotive/coal/resources/concerns/request.rb:36:in `do_request' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_coal-1.0.0/lib/locomotive/coal/resources/concerns/request.rb:15:in `put' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_coal-1.0.0/lib/locomotive/coal/resources/current_site.rb:13:in `update' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_site_command.rb:25:in `persist' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:34:in `block in _push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:30:in `each' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:30:in `_push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:25:in `block in _push_with_timezone' /home/jerome/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/zones.rb:48:in `use_zone' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:24:in `_push_with_timezone' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:18:in `block in push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.11.1/lib/active_support/notifications.rb:166:in `instrument' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:47:in `instrument' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:16:in `push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb:12:in `push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:55:in `block in _push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:84:in `block in each_resource' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:77:in `each' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:77:in `each_resource' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:54:in `_push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:41:in `push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/commands/push_command.rb:31:in `push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon.rb:73:in `push' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/lib/locomotive/wagon/cli.rb:308:in `deploy' /home/jerome/.rvm/gems/ruby-2.6.3/gems/thor-0.19.4/lib/thor/command.rb:27:in `run' /home/jerome/.rvm/gems/ruby-2.6.3/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command' /home/jerome/.rvm/gems/ruby-2.6.3/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch' /home/jerome/.rvm/gems/ruby-2.6.3/gems/thor-0.19.4/lib/thor/base.rb:444:in `start' /home/jerome/.rvm/gems/ruby-2.6.3/gems/locomotivecms_wagon-2.0.1/bin/wagon:12:in `<top (required)>' /home/jerome/.rvm/gems/ruby-2.6.3/bin/wagon:23:in `load' /home/jerome/.rvm/gems/ruby-2.6.3/bin/wagon:23:in `<main>' /home/jerome/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval' /home/jerome/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'

No such file error on Deploy field types text and file

Reproduction Steps: 1. `wagon generate content_type books title: string demo: text picture: file` 2. Deploy Changes 3. Create Entity in CMS 4. Synchronize content including data 5. Deploy content_entries Data: books.yml ```yaml - Draco title: Draco demo: '<img title="Screen_Shot_2019-04-08_at..." alt="undefined" src="/samples/assets/Screen_Shot_2019-04-08_at_12.56.14_PM.png">' picture: "/samples/content_entries/Reveal_ICS_MA_240.png" ```
ANSWERED

How can I remove a page in locomotive.works?

usually it would be removed by going to settings>delete, but currently unable to access that/
ANSWERED

read and set cookies

how to read and set cookie in locomotive
ANSWERED

Customizing Webpack

Is there a way to add my own webpack config? I'd like to include a couple of libraries to be bundled into the javascript, and used at build time. I'm thinking about using Riot.js for this particular app. Thanks!
ANSWERED

Cant Deply with wagon

Hello, i try to deploy my site-template landing-v4 but can not! i use my own instance of locomotive just install from rubygems and Wagon 3.0.3 wagon side : wagon deploy production -v bundle exec wagon deploy production -v # Error description: error # Backtrace: /usr/local/bundle/gems/locomotivecms_coal-1.6.0/lib/locomotive/coal/resources/concerns/request.rb:54:in `do_request' Locomotive side (locomotiveapp/log/developpment.log) Started POST "/locomotive/api/v3/tokens.json" for 127.0.0.1 at 2020-01-29 10:53:39 +0100 MONGODB | localhost:27017 | locomotive_development.find | STARTED | {"find"=>"locomotive_accounts", "filter"=>{"api_key"=>"xxxxxxxxxxxxx"}, "sort"=>{"_id"=>1}, "limit"=>1, "singleBatch"=>true, "lsid"=>{"id"=><BSON::Binary:0x69869658804180 type=uuid data=0x562c58165c7b43a9...>}} MONGODB | localhost:27017 | locomotive_development.find | SUCCEEDED | 0.255s NoMethodError (undefined method `[]' for nil:NilClass): grape (1.1.0) lib/grape/router.rb:163:in `cascade?' grape (1.1.0) lib/grape/router.rb:95:in `transaction' thanks for your help