Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors installing Windows 10 LTSC #269

Closed
IntrovertedFL opened this issue May 11, 2020 · 11 comments
Closed

Errors installing Windows 10 LTSC #269

IntrovertedFL opened this issue May 11, 2020 · 11 comments

Comments

@IntrovertedFL
Copy link

This project seems so awesome but I am not able to run it, I have tried running from elevated power shell but I keep getting "wp-headless exited with code 127" I have pasted my logs below in hopes someone else using windows can give me some insight. Thanks in advance.

PS C:\dev\headless-wp-starter> docker-compose logs -f
Attaching to wp-headless, frontend-graphql, frontend, db-headless
db-headless         | 2020-05-11 16:04:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.4.12+maria~bionic started.
db-headless         | 2020-05-11 16:04:51+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db-headless         | 2020-05-11 16:04:51+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.4.12+maria~bionic started.
db-headless         | 2020-05-11 16:04:52+00:00 [Note] [Entrypoint]: Initializing database files
frontend            | yarn install v1.22.4
frontend            | [1/4] Resolving packages...
frontend            | [2/4] Fetching packages...
wp-headless         | /usr/bin/env: 'sh\r': No such file or directory
frontend-graphql    | yarn install v1.22.4
frontend-graphql    | [1/4] Resolving packages...
frontend-graphql    | [2/4] Fetching packages...
wp-headless exited with code 127
frontend-graphql    | warning [email protected]: Invalid bin field for "mini-css-extract-plugin".
db-headless         |
db-headless         |
db-headless         | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
db-headless         | To do so, start the server, then issue the following commands:
db-headless         |
db-headless         | '/usr/bin/mysqladmin' -u root password 'new-password'
db-headless         | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
db-headless         |
db-headless         | Alternatively you can run:
db-headless         | '/usr/bin/mysql_secure_installation'
db-headless         |
db-headless         | which will also give you the option of removing the test
db-headless         | databases and anonymous user created by default.  This is
db-headless         | strongly recommended for production servers.
db-headless         |
db-headless         | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
db-headless         | MySQL manual for more instructions.
db-headless         |
db-headless         | Please report any problems at http://mariadb.org/jira
db-headless         |
db-headless         | The latest information about MariaDB is available at http://mariadb.org/.
db-headless         | You can find additional information about the MySQL part at:
db-headless         | http://dev.mysql.com
db-headless         | Consider joining MariaDB's strong and vibrant community:
db-headless         | https://mariadb.org/get-involved/
db-headless         |
db-headless         | 2020-05-11 16:05:13+00:00 [Note] [Entrypoint]: Database files initialized
db-headless         | 2020-05-11 16:05:13+00:00 [Note] [Entrypoint]: Starting temporary server
db-headless         | 2020-05-11 16:05:13+00:00 [Note] [Entrypoint]: Waiting for server startup
db-headless         | 2020-05-11 16:05:14 0 [Note] mysqld (mysqld 10.4.12-MariaDB-1:10.4.12+maria~bionic) starting as process 122 ...
db-headless         | 2020-05-11 16:05:14 0 [Note] InnoDB: Using Linux native AIO
db-headless         | 2020-05-11 16:05:14 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db-headless         | 2020-05-11 16:05:14 0 [Note] InnoDB: Uses event mutexes
db-headless         | 2020-05-11 16:05:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-headless         | 2020-05-11 16:05:14 0 [Note] InnoDB: Number of pools: 1
db-headless         | 2020-05-11 16:05:14 0 [Note] InnoDB: Using SSE2 crc32 instructions
db-headless         | 2020-05-11 16:05:14 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-headless         | 2020-05-11 16:05:15 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db-headless         | 2020-05-11 16:05:15 0 [Note] InnoDB: Completed initialization of buffer pool
db-headless         | 2020-05-11 16:05:15 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: Waiting for purge to start
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: 10.4.12 started; log sequence number 61147; transaction id 21
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-headless         | 2020-05-11 16:05:17 0 [Note] Plugin 'FEEDBACK' is disabled.
db-headless         | 2020-05-11 16:05:17 0 [Warning] 'user' entry 'root@e5545d494c15' ignored in --skip-name-resolve mode.
db-headless         | 2020-05-11 16:05:17 0 [Warning] 'user' entry '@e5545d494c15' ignored in --skip-name-resolve mode.
db-headless         | 2020-05-11 16:05:17 0 [Warning] 'proxies_priv' entry '@% root@e5545d494c15' ignored in --skip-name-resolve mode.
db-headless         | 2020-05-11 16:05:17 0 [Note] InnoDB: Buffer pool(s) load completed at 200511 16:05:17
db-headless         | 2020-05-11 16:05:18 0 [Note] Reading of all Master_info entries succeeded
db-headless         | 2020-05-11 16:05:18 0 [Note] Added new Master_info '' to hash table
db-headless         | 2020-05-11 16:05:18 0 [Note] mysqld: ready for connections.
db-headless         | Version: '10.4.12-MariaDB-1:10.4.12+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary
distribution
db-headless         | 2020-05-11 16:05:18+00:00 [Note] [Entrypoint]: Temporary server started.
frontend            | info [email protected]: The platform "linux" is incompatible with this module.
frontend            | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
frontend            | [3/4] Linking dependencies...
frontend            | warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
frontend            | warning " > [email protected]" has incorrect peer dependency "eslint-plugin-react-hooks@^1.7.0".
frontend-graphql    | info [email protected]: The platform "linux" is incompatible with this module.
frontend-graphql    | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
frontend-graphql    | info [email protected]: The platform "linux" is incompatible with this module.
frontend-graphql    | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
frontend-graphql    | [3/4] Linking dependencies...
frontend-graphql    | warning "react-scripts > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".
frontend-graphql    | warning "react-scripts > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".
frontend-graphql    | warning "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
frontend-graphql    | warning " > [email protected]" has incorrect peer dependency "eslint-plugin-react-hooks@^1.7.0".
frontend-graphql    | error An unexpected error occurred: "ENOSYS: function not implemented, lstat '/home/node/app/node_modules/spdy/.travis.yml'".
frontend-graphql    | info If you think this is a bug, please open a bug report with the information provided in "/home/node/app/yarn-error.log".
frontend-graphql    | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
frontend-graphql exited with code 1
frontend            | error An unexpected error occurred: "ENOSYS: function not implemented, lstat '/home/node/app/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js'".
frontend            | info If you think this is a bug, please open a bug report with the information provided in "/home/node/app/yarn-error.log".
frontend            | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
frontend exited with code 1
db-headless         | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
wp-headless         | /usr/bin/env: 'sh\r': No such file or directory
wp-headless         | /usr/bin/env: 'sh\r': No such file or directory
wp-headless exited with code 127
frontend            | yarn install v1.22.4
frontend            | [1/4] Resolving packages...
frontend-graphql    | yarn install v1.22.4
frontend-graphql    | [1/4] Resolving packages...
frontend            | [2/4] Fetching packages...
frontend-graphql    | [2/4] Fetching packages...
frontend            | info [email protected]: The platform "linux" is incompatible with this module.
frontend            | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
frontend            | [3/4] Linking dependencies...
frontend            | warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
frontend            | warning " > [email protected]" has incorrect peer dependency "eslint-plugin-react-hooks@^1.7.0".
frontend-graphql    | info [email protected]: The platform "linux" is incompatible with this module.
frontend-graphql    | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
frontend-graphql    | info [email protected]: The platform "linux" is incompatible with this module.
frontend-graphql    | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
frontend-graphql    | [3/4] Linking dependencies...
frontend-graphql    | warning "react-scripts > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".
frontend-graphql    | warning "react-scripts > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".
frontend-graphql    | warning "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
frontend-graphql    | warning " > [email protected]" has incorrect peer dependency "eslint-plugin-react-hooks@^1.7.0".
wp-headless         | /usr/bin/env: 'sh\r': No such file or directory
wp-headless         | /usr/bin/env: 'sh\r': No such file or directory
wp-headless exited with code 127
wp-headless exited with code 127
db-headless         | 2020-05-11 16:14:27+00:00 [Note] [Entrypoint]: GENERATED ROOT PASSWORD: iyee9chu8Ig3aciepephueh3eech2hai
db-headless         | 2020-05-11 16:14:30 10 [Warning] 'proxies_priv' entry '@% root@e5545d494c15' ignored in --skip-name-resolve mode.
db-headless         | 2020-05-11 16:14:30+00:00 [Note] [Entrypoint]: Creating database wp_headless
db-headless         | 2020-05-11 16:14:30+00:00 [Note] [Entrypoint]: Creating user wp_headless
db-headless         | 2020-05-11 16:14:30+00:00 [Note] [Entrypoint]: Giving user wp_headless access to schema wp_headless
db-headless         | 2020-05-11 16:14:31 14 [Warning] 'proxies_priv' entry '@% root@e5545d494c15' ignored in --skip-name-resolve mode.
db-headless         |
db-headless         | 2020-05-11 16:14:31+00:00 [Note] [Entrypoint]: Stopping temporary server
db-headless         | 2020-05-11 16:14:31 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown
db-headless         | 2020-05-11 16:14:31 0 [Note] Event Scheduler: Purging the queue. 0 events
db-headless         | 2020-05-11 16:14:31 0 [Note] InnoDB: FTS optimize thread exiting.
db-headless         | 2020-05-11 16:14:33 0 [Note] InnoDB: Starting shutdown...
db-headless         | 2020-05-11 16:14:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db-headless         | 2020-05-11 16:14:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 200511 16:14:33
db-headless         | 2020-05-11 16:14:35 0 [Note] InnoDB: Shutdown completed; log sequence number 61156; transaction id 24
db-headless         | 2020-05-11 16:14:35 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db-headless         | 2020-05-11 16:14:36 0 [Note] mysqld: Shutdown complete
db-headless         |
db-headless         | 2020-05-11 16:14:36+00:00 [Note] [Entrypoint]: Temporary server stopped
db-headless         |
db-headless         | 2020-05-11 16:14:36+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
db-headless         |
db-headless         | 2020-05-11 16:14:36 0 [Note] mysqld (mysqld 10.4.12-MariaDB-1:10.4.12+maria~bionic) starting as process 1 ...
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Using Linux native AIO
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Uses event mutexes
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Number of pools: 1
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Using SSE2 crc32 instructions
db-headless         | 2020-05-11 16:14:36 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: Completed initialization of buffer pool
db-headless         | 2020-05-11 16:14:36 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: Waiting for purge to start
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: 10.4.12 started; log sequence number 61156; transaction id 21
db-headless         | 2020-05-11 16:14:37 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-headless         | 2020-05-11 16:14:37 0 [Note] Plugin 'FEEDBACK' is disabled.
db-headless         | 2020-05-11 16:14:38 0 [Note] Server socket created on IP: '::'.
db-headless         | 2020-05-11 16:14:38 0 [Warning] 'proxies_priv' entry '@% root@e5545d494c15' ignored in --skip-name-resolve mode.
db-headless         | 2020-05-11 16:14:38 0 [Note] InnoDB: Buffer pool(s) load completed at 200511 16:14:38
db-headless         | 2020-05-11 16:14:38 0 [Note] Reading of all Master_info entries succeeded
db-headless         | 2020-05-11 16:14:38 0 [Note] Added new Master_info '' to hash table
db-headless         | 2020-05-11 16:14:38 0 [Note] mysqld: ready for connections.
db-headless         | Version: '10.4.12-MariaDB-1:10.4.12+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
wp-headless         | /usr/bin/env: 'sh\r': No such file or directory
wp-headless exited with code 127
wp-headless exited with code 127
@Uranbold
Copy link

Same!

@Uranbold
Copy link

I have just fixed it check out the Pull Request.

@IntrovertedFL
Copy link
Author

I hope that is truth @Uranbold I really want to use this setup bad.

@IntrovertedFL
Copy link
Author

I can not see any change in the files that were modified. I am confused as to what you did. @Uranbold

@Uranbold
Copy link

You can use my PR or my Fork

@IntrovertedFL
Copy link
Author

I used your fork @Uranbold with no success.

@Uranbold
Copy link

You can try with removing some composer and phpcs sections on install_wordpress.sh

@Uranbold
Copy link

I have successfully built it on Windows but in Mac, I have some issues and installed with no wp-cli, Both successful

@IntrovertedFL
Copy link
Author

I found this @Uranbold https://code.visualstudio.com/docs/remote/containers-advanced, Will use Ubuntu KVM, Windows is such a PITA. Thank you for your willingness to help :)

@bshaw-setfords
Copy link

This fixed it for me, thanks to @Uranbold and @idkdevsa: #266 (comment)

Converting the line feed type for install_wordpress.sh and migratedb_import.sh from CRLF to LF allowed it to run. Can change it easily in VSCode or another IDE.

@IntrovertedFL
Copy link
Author

IntrovertedFL commented May 29, 2020

Worked perfectly @bshaw-setfords Thank you so much.

This fixed it for me, thanks to @Uranbold and @idkdevsa: #266 (comment)

Converting the line feed type for install_wordpress.sh and migratedb_import.sh from CRLF to LF allowed it to run. Can change it easily in VSCode or another IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants