# Latest

**URL:** https://discourse.getcockpit.com/latest.md?page=3

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

**Page:** 4

---

## [Openapi.json/openapi.yml from a canonical source](https://discourse.getcockpit.com/t/openapi-json-openapi-yml-from-a-canonical-source/3015)

<div class="topic-metadata">

**Author:** [@LukeChriswalker](https://discourse.getcockpit.com/u/LukeChriswalker)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 5:28pm UTC](https://discourse.getcockpit.com/t/openapi-json-openapi-yml-from-a-canonical-source/3015 "2024-07-26T17:28:48Z")

</div>

Heyo! I wanna grab an openapi.yml or json or whatever from cockpit, and I found… a way to do that, it’s generated to cockpit-url/system/api/openapi. But it’s not reeeaaally that complete. I’d love for it to generate in m…

---

## [Limiting multiple value fields?](https://discourse.getcockpit.com/t/limiting-multiple-value-fields/3013)

<div class="topic-metadata">

**Author:** [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 2:30pm UTC](https://discourse.getcockpit.com/t/limiting-multiple-value-fields/3013 "2024-07-26T14:30:35Z")

</div>

For fields that allow multiple values, is there a way to limit the amount of of values allowed instead of unlimited? How would you do that, if so?

---

## [My addons are not in production but they are local](https://discourse.getcockpit.com/t/my-addons-are-not-in-production-but-they-are-local/3012)

<div class="topic-metadata">

**Author:** [@CristianDev](https://discourse.getcockpit.com/u/CristianDev)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 4:08pm UTC](https://discourse.getcockpit.com/t/my-addons-are-not-in-production-but-they-are-local/3012 "2024-07-25T16:08:49Z")

</div>

My addons work in the local Cockpit environment, but in production they generate a 404 error. I already checked that the files are in the project. What could be causing this problem?

---

## [Locales default language](https://discourse.getcockpit.com/t/locales-default-language/2547)

<div class="topic-metadata">

**Author:** [@aiamk](https://discourse.getcockpit.com/u/aiamk)\
**Replies:** 4\
**Last updated:** [July 24, 2024, 1:12pm UTC](https://discourse.getcockpit.com/t/locales-default-language/2547 "2024-07-24T13:12:15Z")

</div>

Hello, I am suggesting the following for localizing entries: Instead of using ‘default’ rename it to English and make option to choose default language in locales settings. Return back the old translation drop-dow…

---

## [Asset manager not loading](https://discourse.getcockpit.com/t/asset-manager-not-loading/2999)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 4\
**Last updated:** [July 24, 2024, 1:04pm UTC](https://discourse.getcockpit.com/t/asset-manager-not-loading/2999 "2024-07-24T13:04:18Z")

</div>

When trying to upload an asset or replace an asset the asset manager is not loading. TypeError: Cannot read properties of undefined (reading ‘assets.manager.limit’) at Store.get (app.bundle.js?ver=2.8.5:1526:29) at Pr…

---

## [Why my post is not showing?](https://discourse.getcockpit.com/t/why-my-post-is-not-showing/2995)

<div class="topic-metadata">

**Author:** [@joe09](https://discourse.getcockpit.com/u/joe09)\
**Replies:** 4\
**Last updated:** [July 22, 2024, 4:31am UTC](https://discourse.getcockpit.com/t/why-my-post-is-not-showing/2995 "2024-07-22T04:31:34Z")

</div>

Recently I posted a query but it is showing an error: "Oops! That page doesn’t exist or is private. " But not showing in community feed. Could anyone guide me about this. Here is the link of my query : https:/ /discour…

---

## [Collectionlink - Dynamic Filters?](https://discourse.getcockpit.com/t/collectionlink-dynamic-filters/3003)

<div class="topic-metadata">

**Author:** [@GersteDeKorn](https://discourse.getcockpit.com/u/GersteDeKorn)\
**Replies:** 0\
**Last updated:** [July 16, 2024, 11:50am UTC](https://discourse.getcockpit.com/t/collectionlink-dynamic-filters/3003 "2024-07-16T11:50:03Z")

</div>

Is there a way to set the filter of a content link field based on another field value from the same collection? As an example: Instead of setting the filter hard like here: i would like to do something like this and…

---

## [Cockpit CMS V1 - Collection-Link to Latest Version](https://discourse.getcockpit.com/t/cockpit-cms-v1-collection-link-to-latest-version/2970)

<div class="topic-metadata">

**Author:** [@COValhalla](https://discourse.getcockpit.com/u/COValhalla)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 5:12am UTC](https://discourse.getcockpit.com/t/cockpit-cms-v1-collection-link-to-latest-version/2970 "2024-06-27T05:12:35Z")

</div>

Hello, I’m on Cockpit CMS V1 still and wondering if there is an easy way to fix an issue I’m having with Collection-Links. For example, I am linking from an Order to a Part Type. If I edit the Part Type directly, the li…

---

## [\[Security\] Role without edit model access allows to edit model \[Solved\]](https://discourse.getcockpit.com/t/security-role-without-edit-model-access-allows-to-edit-model-solved/2976)

<div class="topic-metadata">

**Author:** [@gabriel](https://discourse.getcockpit.com/u/gabriel)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 4:47am UTC](https://discourse.getcockpit.com/t/security-role-without-edit-model-access-allows-to-edit-model-solved/2976 "2024-06-26T04:47:34Z")

</div>

Hello everyone! I’m running a fresh install of Cockpit 2.8.5. After creating a user with a role that does not have access to edit models, I can still edit the model with that user. Are there any additional steps required…

---

## [Cockpit url is being stripped from asset in WYSIWYG field](https://discourse.getcockpit.com/t/cockpit-url-is-being-stripped-from-asset-in-wysiwyg-field/2762)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 3\
**Last updated:** [June 25, 2024, 5:31am UTC](https://discourse.getcockpit.com/t/cockpit-url-is-being-stripped-from-asset-in-wysiwyg-field/2762 "2024-06-25T05:31:55Z")

</div>

When placing an asset in the WYSIWYG field the cockpit url is being stripped from the image, only keeping the relative part. Because its used as a cms the frontend has a different url and thus the image is not being dis…

---

## [Locales Filters API](https://discourse.getcockpit.com/t/locales-filters-api/2951)

<div class="topic-metadata">

**Author:** [@sergefy13](https://discourse.getcockpit.com/u/sergefy13)\
**Replies:** 1\
**Last updated:** [June 24, 2024, 9:27am UTC](https://discourse.getcockpit.com/t/locales-filters-api/2951 "2024-06-24T09:27:23Z")

</div>

Hey! I have an issue here: So when I want to fetch filtered collection data with a certain local it still filters fields default local…and it works if you add \_local (\_ru, \_es) to the field name So rn I try ...?local=r…

---

## [Custom Endpoint - Fetch collection in database](https://discourse.getcockpit.com/t/custom-endpoint-fetch-collection-in-database/2989)

<div class="topic-metadata">

**Author:** [@Lydie](https://discourse.getcockpit.com/u/Lydie)\
**Replies:** 4\
**Last updated:** [June 20, 2024, 9:46am UTC](https://discourse.getcockpit.com/t/custom-endpoint-fetch-collection-in-database/2989 "2024-06-20T09:46:39Z")

</div>

Hello everybody ! I’m new to cockpit (and PHP) and i need your help. I’m using v2.8.3. I need a endpoint similar to localhost:80/api/content/item/ITEMNAME but who will return all items, all my singletons. I created a…

---

## [Custom API - get singletons by slug](https://discourse.getcockpit.com/t/custom-api-get-singletons-by-slug/840)

<div class="topic-metadata">

**Author:** [@rafaelsmith](https://discourse.getcockpit.com/u/rafaelsmith)\
**Replies:** 3\
**Last updated:** [June 19, 2024, 3:17pm UTC](https://discourse.getcockpit.com/t/custom-api-get-singletons-by-slug/840 "2024-06-19T15:17:31Z")

</div>

Hey! I wanted to know if it’s possible to get singletons by slug or another field? right now I get the singletons by this code, but some time the url not the some as the name cockpit(‘singletons’)-\>getData($collectio…

---

## [Saving Failed on collection, form & singleton](https://discourse.getcockpit.com/t/saving-failed-on-collection-form-singleton/370)

<div class="topic-metadata">

**Author:** [@gsvavarsson](https://discourse.getcockpit.com/u/gsvavarsson)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 6:50pm UTC](https://discourse.getcockpit.com/t/saving-failed-on-collection-form-singleton/370 "2024-06-18T18:50:10Z")

</div>

Hello, I’m a total noobie when it comes to Cockpit, so this might be rookie mistake somewhere. I’ve setup Cockpit on apache2 server (php 7.1, sqlite3). I’ve managed to install it and the setup all worked fine. But when …

---

## [Default admin & admin user/pass do not work for login!](https://discourse.getcockpit.com/t/default-admin-admin-user-pass-do-not-work-for-login/2980)

<div class="topic-metadata">

**Author:** [@OfficialMikeJ](https://discourse.getcockpit.com/u/OfficialMikeJ)\
**Replies:** 1\
**Last updated:** [June 10, 2024, 2:46pm UTC](https://discourse.getcockpit.com/t/default-admin-admin-user-pass-do-not-work-for-login/2980 "2024-06-10T14:46:24Z")

</div>

Hello, I am new here I am trying out Cockpit via Docker/Portainer. I am wanting to test drive the software but I am not able to login to the admin backend to change the password and username. Did I do something wrong o…

---

## [Error 500 on space Content](https://discourse.getcockpit.com/t/error-500-on-space-content/2965)

<div class="topic-metadata">

**Author:** [@OGFaisalN](https://discourse.getcockpit.com/u/OGFaisalN)\
**Replies:** 3\
**Last updated:** [April 18, 2024, 2:02am UTC](https://discourse.getcockpit.com/t/error-500-on-space-content/2965 "2024-04-18T02:02:17Z")

</div>

Hello, I get this error on all my spaces running v2.8.3. It works fine until I try to go to the Content page, then it shows a 500 error. I have tried creating a new space, the issue still occurs. Is there any way to fix …

---

## [V2 System Updater](https://discourse.getcockpit.com/t/v2-system-updater/2964)

<div class="topic-metadata">

**Author:** [@OGFaisalN](https://discourse.getcockpit.com/u/OGFaisalN)\
**Replies:** 0\
**Last updated:** [April 16, 2024, 2:21am UTC](https://discourse.getcockpit.com/t/v2-system-updater/2964 "2024-04-16T02:21:33Z")

</div>

I noticed the new Updater in settings, does this override all modifies system files, configurations, etc.? Since we can no longer use Tower to update, I assume this is a replacement for that.

---

## [Nebwie Help - Tower CLI](https://discourse.getcockpit.com/t/nebwie-help-tower-cli/2943)

<div class="topic-metadata">

**Author:** [@ActiveAdam51](https://discourse.getcockpit.com/u/ActiveAdam51)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 2:17am UTC](https://discourse.getcockpit.com/t/nebwie-help-tower-cli/2943 "2024-04-16T02:17:13Z")

</div>

I think I am being really dumb. But I can’t get ‘tower’ to do anything at all. And I can’t find any community info. And I can’t find much in the docs. EVerything just assumes that it works. Mine doesn’t as far as I can s…

---

## [How can I send email when a collection entry is created?](https://discourse.getcockpit.com/t/how-can-i-send-email-when-a-collection-entry-is-created/1163)

<div class="topic-metadata">

**Author:** [@ahmedrash](https://discourse.getcockpit.com/u/ahmedrash)\
**Replies:** 6\
**Last updated:** [April 7, 2024, 11:44pm UTC](https://discourse.getcockpit.com/t/how-can-i-send-email-when-a-collection-entry-is-created/1163 "2024-04-07T23:44:25Z")

</div>

Collection “Mail” user id customer id email id when an entry is saved to Mail by the user, want to send mail to a customer based on id of customer and email template. It will use “mailer” of config.yaml

---

## [Json collection?](https://discourse.getcockpit.com/t/json-collection/1131)

<div class="topic-metadata">

**Author:** [@aolko](https://discourse.getcockpit.com/u/aolko)\
**Replies:** 3\
**Last updated:** [March 26, 2024, 7:01pm UTC](https://discourse.getcockpit.com/t/json-collection/1131 "2024-03-26T19:01:26Z")

</div>

Is it possible to make a collection that outputs json like this one? Want to make a calendar events editing a bit more easier. json{ "data":\[ { "id":"1", "start\_date&…

---

## [Auto Translation API](https://discourse.getcockpit.com/t/auto-translation-api/2953)

<div class="topic-metadata">

**Author:** [@sergefy13](https://discourse.getcockpit.com/u/sergefy13)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 12:56am UTC](https://discourse.getcockpit.com/t/auto-translation-api/2953 "2024-03-20T00:56:50Z")

</div>

Hey! Is there any chance to make an auto-translation addon for collections/pages, so you can use DeepL/GoogleTranslation API or similar api’s to auto-translate all text fields for every local value? Now you can copy valu…

---

## [Missing localization if field is inside a set of fields](https://discourse.getcockpit.com/t/missing-localization-if-field-is-inside-a-set-of-fields/2940)

<div class="topic-metadata">

**Author:** [@sebastian\_berlin](https://discourse.getcockpit.com/u/sebastian_berlin)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 9:54pm UTC](https://discourse.getcockpit.com/t/missing-localization-if-field-is-inside-a-set-of-fields/2940 "2024-03-12T21:54:46Z")

</div>

If a field (e. g. for tags) is set to i18n: true and if that field is inside a set of fields, the different language versions are not displayed. It looks like localize field is turned off and the field is a regular one.

---

## [Filtering by non-latin characters](https://discourse.getcockpit.com/t/filtering-by-non-latin-characters/2712)

<div class="topic-metadata">

**Author:** [@sock4proxy](https://discourse.getcockpit.com/u/sock4proxy)\
**Replies:** 4\
**Last updated:** [March 12, 2024, 9:01am UTC](https://discourse.getcockpit.com/t/filtering-by-non-latin-characters/2712 "2024-03-12T09:01:41Z")

</div>

Hello When I try to search for text containing non-Latin characters I get the error DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range. in the br…

---

## [☆List of Cockpit Addons](https://discourse.getcockpit.com/t/list-of-cockpit-addons/234)

<div class="topic-metadata">

**Author:** [@serjoscha87](https://discourse.getcockpit.com/u/serjoscha87)\
**Replies:** 31\
**Last updated:** [March 4, 2024, 10:18am UTC](https://discourse.getcockpit.com/t/list-of-cockpit-addons/234 "2024-03-04T10:18:39Z")

</div>

This thread is supposed be the most current source of working Cockpit Addons. Official Addons LayoutComponents Manage global layout-builder components CloudStorage Use cloud storage providers to store assets or t…

---

## [Export content in Cockpit 2](https://discourse.getcockpit.com/t/export-content-in-cockpit-2/2544)

<div class="topic-metadata">

**Author:** [@julian.schmidl](https://discourse.getcockpit.com/u/julian.schmidl)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 11:14am UTC](https://discourse.getcockpit.com/t/export-content-in-cockpit-2/2544 "2024-03-03T11:14:04Z")

</div>

Hello community, in older versions collections could be exported directly in the interface as json. I can’t find this function anymore from version 2. Has it been removed or does the export work differently now? Th…

---

## [Error on logs page](https://discourse.getcockpit.com/t/error-on-logs-page/2933)

<div class="topic-metadata">

**Author:** [@OGFaisalN](https://discourse.getcockpit.com/u/OGFaisalN)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 4:28pm UTC](https://discourse.getcockpit.com/t/error-on-logs-page/2933 "2024-02-20T16:28:38Z")

</div>

Hello, I get this error when loading the system logs page. I replaced my install directory with “installdir” for security. Any idea why this is happening? Warning : include(system:views/logs/index.php): Failed to open s…

---

## [Content link → auto backlink for linked items](https://discourse.getcockpit.com/t/content-link-auto-backlink-for-linked-items/2934)

<div class="topic-metadata">

**Author:** [@sebastian\_berlin](https://discourse.getcockpit.com/u/sebastian_berlin)\
**Replies:** 0\
**Last updated:** [February 18, 2024, 4:58pm UTC](https://discourse.getcockpit.com/t/content-link-auto-backlink-for-linked-items/2934 "2024-02-18T16:58:32Z")

</div>

Maybe there is already a solution for this: With content link I can link to another item. In my case and for a special field, it is necessary that the linked item links back (for the same content model). Example with 2…

---

## [Force Basic en Text components in Layout component](https://discourse.getcockpit.com/t/force-basic-en-text-components-in-layout-component/2931)

<div class="topic-metadata">

**Author:** [@Thomasmuur](https://discourse.getcockpit.com/u/Thomasmuur)\
**Replies:** 0\
**Last updated:** [February 7, 2024, 7:44pm UTC](https://discourse.getcockpit.com/t/force-basic-en-text-components-in-layout-component/2931 "2024-02-07T19:44:09Z")

</div>

Hey! I’m using version a free trial version of Cockpit Pro to check if it has my needs! I really like the page builder with the Components package, I’m adding my own components. I have the following groups for the com…

---

## [Upgrading MongoDB Version from 3.6.3 -\> 6 in V1](https://discourse.getcockpit.com/t/upgrading-mongodb-version-from-3-6-3-6-in-v1/2929)

<div class="topic-metadata">

**Author:** [@COValhalla](https://discourse.getcockpit.com/u/COValhalla)\
**Replies:** 0\
**Last updated:** [February 5, 2024, 3:54pm UTC](https://discourse.getcockpit.com/t/upgrading-mongodb-version-from-3-6-3-6-in-v1/2929 "2024-02-05T15:54:09Z")

</div>

Hello, I’m still not at a place where I have the time to upgrade to V2. My current V1 instance is on an Ubuntu 18 server and we need to upgrade to Ubuntu 22. This is leading me to upgrade MongoDB from 3.6.3 to 6. I perf…

---

## [Restrict content to the content authors](https://discourse.getcockpit.com/t/restrict-content-to-the-content-authors/285)

<div class="topic-metadata">

**Author:** [@hellmaca](https://discourse.getcockpit.com/u/hellmaca)\
**Replies:** 11\
**Last updated:** [February 5, 2024, 4:53am UTC](https://discourse.getcockpit.com/t/restrict-content-to-the-content-authors/285 "2024-02-05T04:53:45Z")

</div>

I want my users to be able to view and edit only collection posts they have created. Is this something I would implement in the config file or programmatically? If so, any help would be much appreciated. Also, I will hav…

[Previous page](https://discourse.getcockpit.com/latest.md?page=2)

[Next page](https://discourse.getcockpit.com/latest.md?page=4)
