Closed talwinder50 closed 2 years ago
Upgrading strapi to : strapi/strapi:3.6.8-alpine oatthkeeper: oryd/oathkeeper:v0.38.15-alpine
This log is stating its trying to hit /admin/auth/local but getting 405 and getting 200 html, have some problem with initialization. [2022-05-09T13:45:09.377Z] debug POST /admin/auth/local (8 ms) 405 [2022-05-09T13:45:13.336Z] debug POST /admin/auth/local/register (3 ms) 405 [2022-05-09T13:45:14.464Z] debug POST /admin/auth/local (3 ms) 405 [2022-05-09T13:45:18.505Z] debug GET index.html (7 ms) 200 [2022-05-09T13:45:18.531Z] debug POST /admin/auth/local/register (1 ms) 405 [2022-05-09T13:47:08.520Z] debug GET index.html (21 ms) 200 [2022-05-09T13:47:09.273Z] debug POST /admin/auth/local (1 ms) 405
There is no Nginx Gateway error
Only strapi index is booting up and otherendpoints are failing
{"errMessage":"missing userID cookie, failed to fetch userID from issuer: call issuer userID service : http request: 500 failed to get cms user: 503 Service Temporarily Unavailable: \u003chtml\u003e\r\n\u003chead\u003e\u003ctitle\u003e503 Service Temporarily Unavailable\u003c/title\u003e\u003c/head\u003e\r\n\u003cbody\u003e\r\n\u003ccenter\u003e\u003ch1\u003e503 Service Temporarily Unavailable\u003c/h1\u003e\u003c/center\u003e\r\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\r\n\u003c/body\u003e\r\n\u003c/html\u003e\r\n and subject john.smith@example.com and openid offline_access PermanentResidentCard"}
Timing of strapi boost is varying between 7.30 to 15 min. Recent longs
Using strapi 3.6.8 No project found at /srv/app. Creating a new strapi project Creating a project from the database CLI arguments. Creating a new Strapi application at /srv/app. Creating files.
users
at ./api/users
.
[2022-05-09T16:08:23.888Z] info Generated a new api studentcards
at ./api/studentcards
.
[2022-05-09T16:08:26.080Z] info Generated a new api transcripts
at ./api/transcripts
.
[2022-05-09T16:08:28.288Z] info Generated a new api travelcards
at ./api/travelcards
.
[2022-05-09T16:08:30.228Z] info Generated a new api permanentresidentcards
at ./api/permanentresidentcards
.
[2022-05-09T16:08:32.210Z] info Generated a new api vaccinationcertificates
at ./api/vaccinationcertificates
.
[2022-05-09T16:08:34.092Z] info Generated a new api certifiedmilltestreports
at ./api/certifiedmilltestreports
.
[2022-05-09T16:08:36.075Z] info Generated a new api crudeproductcredentials
at ./api/crudeproductcredentials
.
[2022-05-09T16:08:38.335Z] info Generated a new api universitydegreecredentials
at ./api/universitydegreecredentials
.
[2022-05-09T16:08:40.274Z] info Generated a new api creditcardstatements
at ./api/creditcardstatements
.
[2022-05-09T16:08:42.340Z] info Generated a new api mdls
at ./api/mdls
.
[2022-05-09T16:08:44.452Z] info Generated a new api creditscores
at ./api/creditscores
.
[2022-05-09T16:08:46.370Z] info Generated a new api mdlevidences
at ./api/mdlevidences
.
[2022-05-09T16:08:48.600Z] info Generated a new api boardingpasses
at ./api/boardingpasses
.
Finished generating APIs and Models
Building your admin UI with development configuration ...
ℹ Compiling WebpackAfter making change to curl command : removing admin i made progress http://strapi/auth/local/register
This is the last error 403 which is related to permissions in the strapi components
Root cause of the failures were the following:
Solution :
Please note we could not upgrade to v4 as docker image of v4 is not out and most likely it might not be. It is suggested to use this for time being https://blog.dehlin.dev/docker-with-strapi-v4
https://user-images.githubusercontent.com/7862595/168187617-38595aaa-ece0-461a-89ef-3962728ef9ad.mov
This has been fixed
`Using strapi 3.0.6 No project found at /srv/app. Creating a new strapi project Creating a new Strapi application at /srv/app.
Creating a project from the database CLI arguments. Creating files.
Installing dependencies: Error while installing dependencies: warning strapi > boom@7.3.0: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. warning strapi > boom > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. warning strapi > chokidar > fsevents@2.1.3: "Please update to latest v2.3 or v2.2" warning strapi > koa-body > formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau warning strapi > koa-session > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning strapi > strapi-generate-new > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning strapi-admin > @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information. warning strapi-admin > @fortawesome/fontawesome-svg-core@1.3.0: Please upgrade to 6.1.0. https://fontawesome.com/docs/changelog/ warning strapi-admin > @buffetjs/core > @fortawesome/fontawesome-svg-core@1.3.0: Please upgrade to 6.1.0. https://fontawesome.com/docs/changelog/ warning strapi-admin > @buffetjs/styles > @fortawesome/fontawesome-svg-core@1.3.0: Please upgrade to 6.1.0. https://fontawesome.com/docs/changelog/ warning strapi-admin > axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 warning strapi-admin > html-webpack-plugin@3.2.0: 3.x is no longer supported warning strapi-admin > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies warning strapi-admin > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning strapi-admin > @babel/polyfill > core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. warning strapi-admin > @fortawesome/fontawesome-svg-core > @fortawesome/fontawesome-common-types@0.3.0: Please upgrade to 6.1.0. https://fontawesome.com/docs/changelog/ warning strapi-admin > react-intl > @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat warning strapi-admin > react-intl > @formatjs/intl-utils@2.3.0: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package warning strapi-admin > react-intl > @formatjs/intl-unified-numberformat > @formatjs/intl-utils@2.3.0: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package warning strapi-admin > react-intl > @formatjs/intl-listformat > @formatjs/intl-utils@2.3.0: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package warning strapi-admin > react-intl > @formatjs/intl-displaynames > @formatjs/intl-utils@2.3.0: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package warning strapi-admin > react-intl > intl-messageformat-parser@5.5.1: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser warning strapi-admin > react-intl > @formatjs/intl-relativetimeformat > @formatjs/intl-utils@2.3.0: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package warning strapi-admin > react-intl > intl-messageformat > intl-messageformat-parser@5.5.1: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser warning strapi-admin > webpack-dev-server > webpack-log > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning strapi-admin > reactstrap > react-popper > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 warning strapi-admin > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies warning strapi-admin > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. warning strapi-admin > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated warning strapi-admin > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated warning strapi-admin > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated warning strapi-admin > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning strapi-plugin-users-permissions > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning strapi-plugin-users-permissions > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning strapi-plugin-users-permissions > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning strapi-plugin-users-permissions > request > har-validator@5.1.5: this library is no longer supported warning strapi-plugin-users-permissions > koa2-ratelimit > sequelize@5.22.5: Please update to v6 or higher! A migration guide can be found here: https://sequelize.org/v6/manual/upgrade-to-v6.html warning strapi-plugin-users-permissions > koa2-ratelimit > mongoose > @types/mongodb > @types/bson@4.2.0: This is a stub types definition. bson provides its own type definitions, so you do not need this installed. warning strapi-plugin-email > strapi-provider-email-sendmail > sendmail > mailcomposer@3.12.0: This project is unmaintained warning strapi-plugin-email > strapi-provider-email-sendmail > sendmail > mailcomposer > buildmail@3.10.0: This project is unmaintained warning strapi-plugin-upload > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning knex > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) warning knex > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning url-loader@1.1.2: Invalid bin field for "url-loader". error @redis/client@1.1.0: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.18.2" error Found incompatible module.
Keep trying!
Oh, it seems that you encountered errors while installing dependencies in your project. Don't give up, your project was created correctly. Fix the issues mentionned in the installation errors and try to run the following command:
cd /srv/app && yarn install
Generating APIs and Models
Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Error loading the local generate command. Strapi might not be installed in your "node_modules". You may need to run "npm install" Finished generating APIs and Models
Error loading the local develop command. Strapi might not be installed in your "node_modules". You may need to run "npm install"`