Strapi error create index github This command will not change other values in your . Since it seems to be related to the package manager I am thinking that the issue might be related to having the @strapi/helper-plugin package dependency in the following plugins: Aug 3, 2022 · Create a couple of components and use it in a model (so strapi would create link between them and create index). Nov 10, 2022 · After upgrading from 4. Mar 31, 2021 · Hi @creazy231 We can't do anything about any database performances per say :) here you need to create indexes in your DB to improve the performances. A proper issue submission let's us better understand the origin of your bug and therefore help you. Sep 13, 2020 · issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:upload Source is core/upload package status: confirmed Confirmed by a Strapi Team member or multiple community members. Jul 21, 2021 · npx create-strapi-app backend; Select "Custom (manual settings) Type "N" to create a template; Choose "postgres" Setup postgres credentials and select "no" for SSL connection; Application completes; Added email provider: yarn add strapi-provider-email-sendgrid; Added upload provider: yarn add strapi-provider-upload-aws-s3; Edited config/plugins. Tested it with 4. 3; NPM version: 6. 21 $ strapi develop Cleaning dist dir (4ms) ⠋ Loading Strapi⠋ Building build context [INFO] Including the following ENV variables as part of the JS bundle: - ADMIN_PATH - STRAPI_ADMIN_BACKEND_URL - STRAPI_TELEMETRY_DISABLED Building build context (39ms) ⠙ Creating adminRe-optimizing dependencies because lockfile has changed Dec 9, 2022 · Some context: For bidirectional relationships Strapi uses mappedBy and inversedBy (see docs). env files. May 5, 2023 · Node version: v16. Using another thread (GitHub issue) will be able to manage your case. 0 NPM version: 9. This is something we will want to support in strapi mid term but in the meantime it is fairly easy to add on your own :) Feb 28, 2023 · Hello, in 4. Aug 16, 2023 · There should be DROP IF EXISTS for constraints or Strapi should not create unique index every time 76231417/strapi-index-error-when-i-try-to-save-anything Feb 11, 2022 · Open Terminal (if you're on Mac) or CMD (if you're using Windows) If you have psql installed, then login psql -U <db_user> Select the database you have been working with. 0 Strapi: 4. Screenshots. It fails to start: yarn workspace v1. Jan 4, 2024 · You signed in with another tab or window. @ra-devmaster @msadcenko. If you have problems with the dependency might be because some caching or node_modules stuff Jun 14, 2012 · Saved searches Use saved searches to filter your results more quickly Nov 1, 2023 · This is a templated message. 4 Strapi Starter Nuxt. initialize \node_modules\strapi-plugin-graphql\hooks\graphql\index. 5. 0 2 I use command "npx create-strapi-app lxyapi --quickstart" to create the banckend 3 Just two warns appeared "[2019-11-15T02:08:18. We do have some collectionNames/tables that are close to 64 chars in length. Sep 2, 2024 · Hello I’m trying to create an index for a content type defined in my plugin. 0 we added a validator to check if media is passed in the api #14670. This is a templated message Jun 14, 2017 · I arrived at the same problem. 0 stable. It seems to me at some point (sqlite3) it executes a Python2 script, whil Aug 2, 2023 · If you're still having connection errors, please open an issue in the strapi/strapi repo, and once things are figured out there, feel free to create another documentation issue so we can update the docs as necessary. Could you share how you are sending the file? Maybe the validator doesn't account for that format and we could refactor it. May 5, 2022 · I'm having this issue as wel. Node. Saved searches Use saved searches to filter your results more quickly Jul 29, 2020 · Describe the bug Currently migration to Strapi 3. Steps to reproduce the behavior do the Quickstart command to create a Strapi project instantly: Go to 'do the command npm develo Nov 9, 2023 · Node. 4. For example, the problem always occurred for me after a new version of Strapi was released. js version: 10. create database <new-db> template <old-db>; Oct 16, 2019 · npx create-strapi-app my-project; Choose MySQL as Database; Insert Credentials; Choose "No" for SSL; run "strapi start" or "npm run start" Expected behavior Admin Panel should show up. So one side holds the mappedBy attribute and the other inversedBy. Jul 28, 2024 · - STRAPI_ADMIN_BACKEND_URL - STRAPI_TELEMETRY_DISABLED Building build context (83ms) Creating admin (463ms) ⠧ Loading Strapi[ERROR] There seems to be an unexpected error, try again with --debug for more information Jul 19, 2023 · Saved searches Use saved searches to filter your results more quickly Aug 11, 2020 · Basic installation of strapi; Connect the database to Postgresql; Create a Collection called resources with a json field called tags. I am not entirely sure what causes this error, but I have a Model that represents a navigation menu in a website. x. 4 YARN version: 1. js version: v18. Apr 12, 2022 · Hello, we're currently trying to migrate from v3 to v4. Possibly this had something to do with the User collection type. Apr 16, 2024 · Hi, I was able to figure out the issue. See error; Expected behavior. 1 Strapi version: 3. 89919999986887ms) - Creating admin[ERROR] Module not Sep 13, 2023 · You signed in with another tab or window. 0 and cleaning up duplicates in some tables, everything went OK except one important detail. 1) Is your project Javascript or Typescript: Javascript Describe the bug Trying to upgrade a 4. 9. 1 is failing because strapi / strapi-admin are using a broken lodash version Issue tracked here Steps to reproduce the behavior Update Strapi Follow Migration Guide Run Build -- Clean Se Aug 9, 2021 · While running the following command npx create-strapi-starter my-site next-corporate I get the following error: Installing strapi/strapi-starter-next-corporate starter ⠸ Installing dependencies:Thi Jan 27, 2023 · Hello others! 👋 this was indeed a Memory limit issue for me. env is not completely read by this part of the code ? Jun 13, 2018 · I believe the issue here is that every single model has a FULLTEXT search index being created but on models that don't have a column that can be placed in the index IE a boolean or a relation it will throw out errors. Please update that in your issue to make sure anyone else looking at this issue knows exactly what you did to get to his point. Feb 6, 2019 · Informations Node. Each give me the same issue. Step 1: Before the upgrade, remove "@strapi/plugin-graphql" or any other plugins which may affect the upgrade in the package. Let's assume the index strapi is trying to create is components_multiple_choice_question_multiple_choices_component_type_fk (longer than 63 chars) Upon save, strapi does migration and crates an index using knex Aug 24, 2023 · If I understand it correct strapi creates for relation fields two index on the db they end with: _fk _inv_fk; When the overall index name is to long the endings are removed by the trucating and strapi tries to create two index with the same name. 0. After using the Codemods to convert our models to the v4 format, when starting Strapi with an empty db, it fails because some table names, some column names or some foreign key identifiers are too long, because Strapi prepends a bunch of stuff (like _links_inv_fk Apr 1, 2012 · Dropping the strapi_migrations table does not resolve the problem, but it gets thrown for another table. Run yarn develop. 0-alpha14 Database: postgres 10 Operating system: macos 10. 0 Strapi version: 4. 1 Database: MySQL Operating system: linux/mac os Is your project Javascript or Typescript: Javascript Bug Description I am creating custom indexes in my Jun 25, 2019 · Create the project and ignore the error, then manually edit the line "node": "^10. g. 1 Strapi version: 4. j Sep 15, 2022 · issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:admin Source is core/admin package status: confirmed Confirmed by a Strapi Team member or multiple community members Sep 4, 2024 · I think the problem is caused by installing different versions of Strapi packages in node_modules since Strapi uses workspace:* as a version tag (). Mar 30, 2024 · error: create index “components_readings_information_tp_informations_reference_cell_links_fk” on “public”. Here is a repo where I reproduce the steps taken to produce the bug. The problem is that when I try to call the following instruction in the plugin bootstrap function await connection. Sep 19, 2024 · You signed in with another tab or window. json, save file May 9, 2020 · Hello there. What can I do to solve this? any help is welcome. System. By default, one of them named caching_sha2_password is used rather than our good old mysql_native_password. Install yarn with these docs . Nov 14, 2019 · 1 I installed nodejs v12. Steps to reproduce the behavior. Sep 20, 2024 · You signed in with another tab or window. Thank you and have a good day. js version: 18. Feb 6, 2024 · System Information Hi friends , my project works great on PostgreSQL, but I’m migrating to MySQL and I have been fighting with that issue, I changed the name of the component from the admin panel, but I believe in the code of Strapi in some parts the long name continue. After the first attempt failed I deleted all the containers I have stored locally just to make sure I am getting a fresh build. 1 Strapi version: v4. 0" to "node": ">= 10. 0 Strapi version: 3. You signed in with another tab or window. Oct 29, 2024 · I have found a solution: I originally encountered this problem when trying to overload the user-permissions plugin (I change the JWT strategy so that it gets stored in httpOnly cookies). Feb 10, 2022 · You signed in with another tab or window. 0-alpha. Basically it requires the use of patch-package and for those who don't want to wait and see how it's done you can check out this repo I made a while back on how it works (it was made for v3, not v4 but the core logic remains the same, you are editing the file in node_modules Jan 6, 2022 · @kasonde, I used the strapi starter with next-blog. May 26, 2020 · Describe the bug On npm run strapi dev, I get the following error: Server wasn't able to start properly. Feb 19, 2019 · @brunodeangelis the problem is neither, the ALTER TABLE command in normal SQL vs SQLite are different (in that the SQLite version is far more limited) In order to modify a column in a table (and keep the data) effectively what has to happen is a temporary table is made with the modifications, data is copied over from existing to the temp, the existing is deleted, and the temp is renamed like Mar 18, 2022 · @linbudu599 can you detail your setup correctly and all the commands in order to reproduce the issue. Saved searches Use saved searches to filter your results more quickly Jul 11, 2024 · > strapi develop ⠋ Building build context [INFO] Including the following ENV variables as part of the JS bundle: - ADMIN_PATH - STRAPI_ADMIN_BACKEND_URL - STRAPI_TELEMETRY_DISABLED Building build context (90ms) Creating admin (13337ms) ⠙ Loading Strapi[ERROR] There seems to be an unexpected error, try again with --debug for more information Jan 12, 2021 · Bug report Describe the bug When building Strapi with Yarn V2, yarn build fails. 13). 2 NPM version: 6. Happening on strapi develop. Mar 20, 2022 · The way I fix this issue is removing the following index from a data base and then it started working for me. json in the created project folder. 4 $ strapi develop [2021-04-23T07 Mar 2, 2023 · Starting the compilation for TypeScript files in C:\Users\Igor\dev\reproduce\yarn-reproduce-dependencies-bug Building your admin UI with development configuration Dec 7, 2023 · You signed in with another tab or window. ill pljmhr novm fono jbwgrxdn ocj ivyml beoorw nadd ldvlwf zjjwl pio kfo guz lnnn