# Support

**URL:** https://discourse.getcockpit.com/c/support/5.md?page=2

[Latest](https://discourse.getcockpit.com/latest.md) · [Categories](https://discourse.getcockpit.com/categories.md)

**Page:** 3

---

## [Create user via rest api](https://discourse.getcockpit.com/t/create-user-via-rest-api/2672)

<div class="topic-metadata">

**Author:** [@JoyMajumdar2001](https://discourse.getcockpit.com/u/JoyMajumdar2001)\
**Replies:** 4\
**Last updated:** [September 6, 2023, 8:34pm UTC](https://discourse.getcockpit.com/t/create-user-via-rest-api/2672 "2023-09-06T20:34:31Z")

</div>

How to create user via rest api and authenticate them ?

---

## [Create a custom API endpoint with everything but body content?](https://discourse.getcockpit.com/t/create-a-custom-api-endpoint-with-everything-but-body-content/36)

<div class="topic-metadata">

**Author:** [@cschweda](https://discourse.getcockpit.com/u/cschweda)\
**Replies:** 7\
**Last updated:** [September 6, 2023, 12:05pm UTC](https://discourse.getcockpit.com/t/create-a-custom-api-endpoint-with-everything-but-body-content/36 "2023-09-06T12:05:11Z")

</div>

How would I create a custom API endpoint with everything but body\_content? Essentially, I want an index of all my posts – but I don’t want to query the body\_content. (I’ll query that when I hit the actual page.) I know…

---

## [Best Way to Backup Cockpit data?](https://discourse.getcockpit.com/t/best-way-to-backup-cockpit-data/44)

<div class="topic-metadata">

**Author:** [@cschweda](https://discourse.getcockpit.com/u/cschweda)\
**Replies:** 7\
**Last updated:** [August 5, 2023, 9:53am UTC](https://discourse.getcockpit.com/t/best-way-to-backup-cockpit-data/44 "2023-08-05T09:53:22Z")

</div>

What’s the best way to backup a Cockpit installation? I tried the backup solution here – but it gives me a 500 error on the latest pull of Cockpit Next: Is it enough to backup the /storage/ and /config/ folders – and…

---

## [Migration to v2 and entry \_ids](https://discourse.getcockpit.com/t/migration-to-v2-and-entry-ids/2846)

<div class="topic-metadata">

**Author:** [@seank1968](https://discourse.getcockpit.com/u/seank1968)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 8:09am UTC](https://discourse.getcockpit.com/t/migration-to-v2-and-entry-ids/2846 "2023-07-28T08:09:18Z")

</div>

Currently using v1 as a database from which I’m pulling data into a php based website via the api using the entey \_id to identify the data. I want to start using v2 but I’m not sure about migrating the data. For exampl…

---

## [Custom style with TinyMCE](https://discourse.getcockpit.com/t/custom-style-with-tinymce/2831)

<div class="topic-metadata">

**Author:** [@sjoerd222888](https://discourse.getcockpit.com/u/sjoerd222888)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 5:56pm UTC](https://discourse.getcockpit.com/t/custom-style-with-tinymce/2831 "2023-07-10T17:56:09Z")

</div>

I tried to define custom styles for TinyMCE as described here: Custom formats example | Docs | TinyMCE I tried with the following Options value: { tinymce: { formats: { customformat: { inline: 'span…

---

## [Allow \<span\> in TinyMCE (Wysiwyg)](https://discourse.getcockpit.com/t/allow-span-in-tinymce-wysiwyg/1557)

<div class="topic-metadata">

**Author:** [@danielpascoe](https://discourse.getcockpit.com/u/danielpascoe)\
**Replies:** 1\
**Last updated:** [July 20, 2020, 9:30pm UTC](https://discourse.getcockpit.com/t/allow-span-in-tinymce-wysiwyg/1557 "2020-07-20T21:30:43Z")

</div>

I am trying to add a span to my text which by default I believe that TinyMCE does not allow. I saw in the documentation that you can edit field types but I’m not sure where this would go. I know I will need to use exte…

---

## [A bit of random error 404 when setting up cockpit](https://discourse.getcockpit.com/t/a-bit-of-random-error-404-when-setting-up-cockpit/2829)

<div class="topic-metadata">

**Author:** [@sjoerd222888](https://discourse.getcockpit.com/u/sjoerd222888)\
**Replies:** 2\
**Last updated:** [July 9, 2023, 7:59am UTC](https://discourse.getcockpit.com/t/a-bit-of-random-error-404-when-setting-up-cockpit/2829 "2023-07-09T07:59:39Z")

</div>

Hi I did install cockpit CMS on a hosting provider that runs php 8.2 on Apache. First I installed it once on a separate subdomain and it all worked. I was able to create models, content, users, roles, api-keys. This wa…

---

## [Customization in Cockpit UI](https://discourse.getcockpit.com/t/customization-in-cockpit-ui/2824)

<div class="topic-metadata">

**Author:** [@kiranmohare11](https://discourse.getcockpit.com/u/kiranmohare11)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 7:50am UTC](https://discourse.getcockpit.com/t/customization-in-cockpit-ui/2824 "2023-07-05T07:50:58Z")

</div>

Hi guys, I want to customize menu or navbar of cockpit. What could be the options to get the ouput shown in attached screen shot

---

## [REST API - limitation/issue](https://discourse.getcockpit.com/t/rest-api-limitation-issue/2820)

<div class="topic-metadata">

**Author:** [@Janno](https://discourse.getcockpit.com/u/Janno)\
**Replies:** 9\
**Last updated:** [July 4, 2023, 1:45pm UTC](https://discourse.getcockpit.com/t/rest-api-limitation-issue/2820 "2023-07-04T13:45:53Z")

</div>

Hello community, did someone notice or experience an issue or limitation with REST API? I have more than 3000 entries in one collection. When I am fetching all of them via API I am receiving Gateway timeout after 60 s…

---

## [Hosting on uberspace (root dir) throws 404](https://discourse.getcockpit.com/t/hosting-on-uberspace-root-dir-throws-404/2816)

<div class="topic-metadata">

**Author:** [@Shackless](https://discourse.getcockpit.com/u/Shackless)\
**Replies:** 6\
**Last updated:** [June 30, 2023, 9:58am UTC](https://discourse.getcockpit.com/t/hosting-on-uberspace-root-dir-throws-404/2816 "2023-06-30T09:58:37Z")

</div>

I set up an uberspace and uploaded Cockpit to /home/my-user/html. I was able to run https://my-user.uber.space/install successfully but when I now navigate to https://my-user.uber.space/, I get redirected to https://my-u…

---

## [With the update to 2.6.0 my API stopped working?](https://discourse.getcockpit.com/t/with-the-update-to-2-6-0-my-api-stopped-working/2814)

<div class="topic-metadata">

**Author:** [@faridbouchdak](https://discourse.getcockpit.com/u/faridbouchdak)\
**Replies:** 2\
**Last updated:** [June 24, 2023, 11:15am UTC](https://discourse.getcockpit.com/t/with-the-update-to-2-6-0-my-api-stopped-working/2814 "2023-06-24T11:15:50Z")

</div>

Hi @artur, congrats with another milestone for cockpit! I just updated mine via tower. With this update i noticed that i can’t get any data from the API. I have a pagesModel with only a title field. this pagesModel ha…

---

## [GraphQL query variables not working](https://discourse.getcockpit.com/t/graphql-query-variables-not-working/2813)

<div class="topic-metadata">

**Author:** [@alberto2000](https://discourse.getcockpit.com/u/alberto2000)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 7:05pm UTC](https://discourse.getcockpit.com/t/graphql-query-variables-not-working/2813 "2023-06-21T19:05:40Z")

</div>

I’m using the slug solution from here: \[cp 2\] generate slug when saving collection My (contrived) query: query projectQuery($slug: String) { project: projectsModel(filter: {slug: $slug}) { \_id slug title …

---

## [How to increase max asset upload filesize?](https://discourse.getcockpit.com/t/how-to-increase-max-asset-upload-filesize/2806)

<div class="topic-metadata">

**Author:** [@alberto2000](https://discourse.getcockpit.com/u/alberto2000)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 5:45pm UTC](https://discourse.getcockpit.com/t/how-to-increase-max-asset-upload-filesize/2806 "2023-06-20T17:45:38Z")

</div>

I’m running Cockpit using Docker, where can I increase upload\_max\_filesize persistently?

---

## [Using Regex on a Text Field](https://discourse.getcockpit.com/t/using-regex-on-a-text-field/2811)

<div class="topic-metadata">

**Author:** [@joe](https://discourse.getcockpit.com/u/joe)\
**Replies:** 0\
**Last updated:** [June 18, 2023, 11:24pm UTC](https://discourse.getcockpit.com/t/using-regex-on-a-text-field/2811 "2023-06-18T23:24:33Z")

</div>

Hello everyone. I’m trying to add regex to a text field to limit only lowercase characters and hyphens for URL slugs. I’ve tried setting it in the field’s Meta: { pattern: '^\[a-z\]+(-\[a-z\]+)\*$', } And also tried set…

---

## [Remove "Assets" Button in TinyMCE / Wysiwyg Editor](https://discourse.getcockpit.com/t/remove-assets-button-in-tinymce-wysiwyg-editor/2805)

<div class="topic-metadata">

**Author:** [@alberto2000](https://discourse.getcockpit.com/u/alberto2000)\
**Replies:** 3\
**Last updated:** [June 13, 2023, 10:21am UTC](https://discourse.getcockpit.com/t/remove-assets-button-in-tinymce-wysiwyg-editor/2805 "2023-06-13T10:21:44Z")

</div>

How to remove the “Assets” Button in TinyMCE / Wysiwyg Editor? My options JSON: { tinymce: { toolbar: 'bold italic link', }, } I don’t understand why the “Assets” button is still showing. Thanks

---

## [SPF Fail on Contact Form Entries](https://discourse.getcockpit.com/t/spf-fail-on-contact-form-entries/2802)

<div class="topic-metadata">

**Author:** [@gethersj](https://discourse.getcockpit.com/u/gethersj)\
**Replies:** 0\
**Last updated:** [June 11, 2023, 6:25pm UTC](https://discourse.getcockpit.com/t/spf-fail-on-contact-form-entries/2802 "2023-06-11T18:25:51Z")

</div>

Hi there, I am struggling with my instance of cockpit that all contact forms on my website keeps going to spam. The SPF record is correct. Its installed on a shared host on cPanel, the email client on cPanel works fine…

---

## [How to add account with Administrative access instead of Previlige](https://discourse.getcockpit.com/t/how-to-add-account-with-administrative-access-instead-of-previlige/2799)

<div class="topic-metadata">

**Author:** [@kiranmohare11](https://discourse.getcockpit.com/u/kiranmohare11)\
**Replies:** 1\
**Last updated:** [June 1, 2023, 1:11pm UTC](https://discourse.getcockpit.com/t/how-to-add-account-with-administrative-access-instead-of-previlige/2799 "2023-06-01T13:11:03Z")

</div>

I want to have a user with Administrative access.

---

## [Can't select asset after update to 2.5.2](https://discourse.getcockpit.com/t/cant-select-asset-after-update-to-2-5-2/2794)

<div class="topic-metadata">

**Author:** [@faridbouchdak](https://discourse.getcockpit.com/u/faridbouchdak)\
**Replies:** 2\
**Last updated:** [May 28, 2023, 1:45pm UTC](https://discourse.getcockpit.com/t/cant-select-asset-after-update-to-2-5-2/2794 "2023-05-28T13:45:50Z")

</div>

I updated to version 2.5.2 and noticed that i can’t select an asset (image in my case) anymore. Nowadays i update via cli, so to make sure my (faulty) code isn’t interfering i tried a vanilla cockpit core installation…

---

## [I 'm new to cockpit and had connection problem](https://discourse.getcockpit.com/t/i-m-new-to-cockpit-and-had-connection-problem/2784)

<div class="topic-metadata">

**Author:** [@glda19](https://discourse.getcockpit.com/u/glda19)\
**Replies:** 1\
**Last updated:** [May 11, 2023, 5:21pm UTC](https://discourse.getcockpit.com/t/i-m-new-to-cockpit-and-had-connection-problem/2784 "2023-05-11T17:21:01Z")

</div>

I have here to desktop pc’s with linux mint On both i installed cockpit. I use the last version of firefiox But when i try to add the a new host i’ve got the message Cockpit could not contact the specified host. But …

---

## [Pre-check all CollectionLink entries](https://discourse.getcockpit.com/t/pre-check-all-collectionlink-entries/2785)

<div class="topic-metadata">

**Author:** [@Boerul](https://discourse.getcockpit.com/u/Boerul)\
**Replies:** 0\
**Last updated:** [May 11, 2023, 8:22am UTC](https://discourse.getcockpit.com/t/pre-check-all-collectionlink-entries/2785 "2023-05-11T08:22:40Z")

</div>

Hello guys, I have a collection (let’s call it collection1) with a CollectionLink field linked to collection2. I would like to have all the CollectionLink items (from collection2) checked when I create a new entry in co…

---

## [Dashboard HELLO problem1](https://discourse.getcockpit.com/t/dashboard-hello-problem1/2778)

<div class="topic-metadata">

**Author:** [@kerolosxgad](https://discourse.getcockpit.com/u/kerolosxgad)\
**Replies:** 1\
**Last updated:** [April 19, 2023, 11:20am UTC](https://discourse.getcockpit.com/t/dashboard-hello-problem1/2778 "2023-04-19T11:20:29Z")

</div>

The Cockpit dashboard stuck to hello text even after adding models!

---

## [Singleton json locales](https://discourse.getcockpit.com/t/singleton-json-locales/2772)

<div class="topic-metadata">

**Author:** [@lambnelsen](https://discourse.getcockpit.com/u/lambnelsen)\
**Replies:** 6\
**Last updated:** [April 13, 2023, 8:29pm UTC](https://discourse.getcockpit.com/t/singleton-json-locales/2772 "2023-04-13T20:29:47Z")

</div>

hi all, i created singleton in different locales, fill it with data. and then when i click button “show json”, i see common json with all data in all locales my question is: how make GET request for received json conte…

---

## [(Beginner) Permission denied error](https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768)

<div class="topic-metadata">

**Author:** [@Oralbek](https://discourse.getcockpit.com/u/Oralbek)\
**Replies:** 2\
**Last updated:** [April 10, 2023, 11:03am UTC](https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768 "2023-04-10T11:03:25Z")

</div>

Hi, I create a new singleton and trying to access it with get call in the rest api, but it is giving 403 permission denied error. Need help But, when requesting images, everything works https://yapx.ru/album/V3LvG

---

## [Can't login anymore](https://discourse.getcockpit.com/t/cant-login-anymore/2752)

<div class="topic-metadata">

**Author:** [@hntrmr](https://discourse.getcockpit.com/u/hntrmr)\
**Replies:** 0\
**Last updated:** [March 26, 2023, 7:21pm UTC](https://discourse.getcockpit.com/t/cant-login-anymore/2752 "2023-03-26T19:21:10Z")

</div>

tried to login into cockpit cms. and i just come back to the login screen. looked into the files, googled (found stuff, tried it, did not help). backuped my data and reinstalled a fresh cockpit cms, called /install, tr…

---

## [More documentation / tutorials?](https://discourse.getcockpit.com/t/more-documentation-tutorials/2734)

<div class="topic-metadata">

**Author:** [@klvsv](https://discourse.getcockpit.com/u/klvsv)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 11:58pm UTC](https://discourse.getcockpit.com/t/more-documentation-tutorials/2734 "2023-03-14T23:58:29Z")

</div>

Hi, I tried to find more documentation than the one provided on the Cockpit website. I have successfully installed Cockpit locally and now I want to learn how to start creating a home page for a project. How and where d…

---

## [Can not delete a model](https://discourse.getcockpit.com/t/can-not-delete-a-model/2728)

<div class="topic-metadata">

**Author:** [@heiyoo](https://discourse.getcockpit.com/u/heiyoo)\
**Replies:** 1\
**Last updated:** [March 9, 2023, 9:49am UTC](https://discourse.getcockpit.com/t/can-not-delete-a-model/2728 "2023-03-09T09:49:26Z")

</div>

Hi, I cloned a new model from an existing model, but if I modify/delete the new model, cockpit always return a 404 page to me. How can I do modification/deletion on the new model? Thanks.

---

## [MultipleSelect Field](https://discourse.getcockpit.com/t/multipleselect-field/2726)

<div class="topic-metadata">

**Author:** [@luciano](https://discourse.getcockpit.com/u/luciano)\
**Replies:** 1\
**Last updated:** [March 7, 2023, 8:04pm UTC](https://discourse.getcockpit.com/t/multipleselect-field/2726 "2023-03-07T20:04:00Z")

</div>

Is there any possibility to leave all MultipleSelect fields previously selected any example for the code below? { “options”: \[ { “value”: “AC”, “label”: “Acre” }, { “value”: “AL”, “label”: “Alagoas” }, { “va…

---

## [Cockpit web logs](https://discourse.getcockpit.com/t/cockpit-web-logs/2719)

<div class="topic-metadata">

**Author:** [@SKROWWW](https://discourse.getcockpit.com/u/SKROWWW)\
**Replies:** 0\
**Last updated:** [March 4, 2023, 6:41pm UTC](https://discourse.getcockpit.com/t/cockpit-web-logs/2719 "2023-03-04T18:41:40Z")

</div>

hello i have dis school project , i need to save web logs , i ve found addon Logger ,but i have problem with composer installation , what would you suggest thanks for your time

---

## [Uniquely identify set entries](https://discourse.getcockpit.com/t/uniquely-identify-set-entries/2702)

<div class="topic-metadata">

**Author:** [@rew](https://discourse.getcockpit.com/u/rew)\
**Replies:** 2\
**Last updated:** [February 21, 2023, 11:53pm UTC](https://discourse.getcockpit.com/t/uniquely-identify-set-entries/2702 "2023-02-21T23:53:04Z")

</div>

I have a Tree model that’s a list of document groups/categories. One of the subfields is a Set, which contains the documents inside the group. What I want is a page that lists all the groups, each with a list of the docu…

---

## [How to sort entries directly from url](https://discourse.getcockpit.com/t/how-to-sort-entries-directly-from-url/253)

<div class="topic-metadata">

**Author:** [@mahi008](https://discourse.getcockpit.com/u/mahi008)\
**Replies:** 11\
**Last updated:** [February 18, 2023, 9:21am UTC](https://discourse.getcockpit.com/t/how-to-sort-entries-directly-from-url/253 "2023-02-18T09:21:13Z")

</div>

Hello Community, I’ve just started using cockpit as my iOs app backend, everything works great but I don’t know how & I didn’t find anywhere to pass ‘sort’ param in the url. for example xxx.com/api/collections/get/myN…

[Previous page](https://discourse.getcockpit.com/c/support/5.md?page=1)

[Next page](https://discourse.getcockpit.com/c/support/5.md?page=3)
