[NPMCLI-266] 6.2.17 not starting with Node 17 Created: 22/Feb/22  Updated: 24/Jul/23  Resolved: 15/Mar/22

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.1

Type: Bug Priority: Critical
Reporter: Bartosz Staryga Assignee: Dai Ha
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: DevX Bucket
Sprint: DevX 5
Story Points: 5
Team: DeveloperX

 Description   

Steps to reproduce

  1.  Have Node 17
  2.  Run mgnl jumpstart and chose magnolia-community-demo-webapp
  3. Run mgnl start

Expected results

Magnolia starting

Actual results

Nothing happens

Workaround

Use older Node, or older Magnolia or DX Core

Development notes

When installing CE on Node 17 the bin scripts do not have x.
For other combination x is there and starting Magnolia works.

bartoszstaryga in ~/Dev/mgnl > cd apache-tomcat/bin 
total 1800
drwxr-xr-x  34 bartoszstaryga  staff   1.1K Feb 22 16:05 ./
drwxr-xr-x  16 bartoszstaryga  staff   512B Feb 22 16:05 ../
-rw-r--r--   1 bartoszstaryga  staff    34K Feb 22 16:05 bootstrap.jar
-rw-r--r--   1 bartoszstaryga  staff   1.6K Feb 22 16:05 catalina-tasks.xml
-rw-r--r--   1 bartoszstaryga  staff    16K Feb 22 16:05 catalina.bat
-rw-r--r--   1 bartoszstaryga  staff    25K Feb 22 16:05 catalina.sh
-rw-r--r--   1 bartoszstaryga  staff   2.1K Feb 22 16:05 ciphers.bat
-rw-r--r--   1 bartoszstaryga  staff   2.0K Feb 22 16:05 ciphers.sh
-rw-r--r--   1 bartoszstaryga  staff   203K Feb 22 16:05 commons-daemon-native.tar.gz
-rw-r--r--   1 bartoszstaryga  staff    25K Feb 22 16:05 commons-daemon.jar
-rw-r--r--   1 bartoszstaryga  staff   2.0K Feb 22 16:05 configtest.bat
-rw-r--r--   1 bartoszstaryga  staff   1.9K Feb 22 16:05 configtest.sh
-rw-r--r--   1 bartoszstaryga  staff   8.9K Feb 22 16:05 daemon.sh
-rw-r--r--   1 bartoszstaryga  staff   2.0K Feb 22 16:05 digest.bat
-rw-r--r--   1 bartoszstaryga  staff   1.9K Feb 22 16:05 digest.sh
-rw-r--r--   1 bartoszstaryga  staff   265B Feb 22 16:05 magnolia_banner.txt
-rw-r--r--   1 bartoszstaryga  staff   1.2K Feb 22 16:05 magnolia_control.bat
-rw-r--r--   1 bartoszstaryga  staff   3.2K Feb 22 16:05 magnolia_control.sh
-rw-r--r--   1 bartoszstaryga  staff   3.5K Feb 22 16:05 makebase.bat
-rw-r--r--   1 bartoszstaryga  staff   3.3K Feb 22 16:05 makebase.sh
-rw-r--r--   1 bartoszstaryga  staff   3.4K Feb 22 16:05 setclasspath.bat
-rw-r--r--   1 bartoszstaryga  staff   3.6K Feb 22 16:05 setclasspath.sh
-rw-r--r--   1 bartoszstaryga  staff   381B Feb 22 16:05 setenv.bat
-rw-r--r--   1 bartoszstaryga  staff   714B Feb 22 16:05 setenv.sh
-rw-r--r--   1 bartoszstaryga  staff   2.0K Feb 22 16:05 shutdown.bat
-rw-r--r--   1 bartoszstaryga  staff   1.9K Feb 22 16:05 shutdown.sh
-rw-r--r--   1 bartoszstaryga  staff   2.0K Feb 22 16:05 startup.bat
-rw-r--r--   1 bartoszstaryga  staff   1.9K Feb 22 16:05 startup.sh
-rw-r--r--   1 bartoszstaryga  staff    46K Feb 22 16:05 tomcat-juli.jar
-rw-r--r--   1 bartoszstaryga  staff   418K Feb 22 16:05 tomcat-native.tar.gz
-rw-r--r--   1 bartoszstaryga  staff   4.5K Feb 22 16:05 tool-wrapper.bat
-rw-r--r--   1 bartoszstaryga  staff   5.4K Feb 22 16:05 tool-wrapper.sh
-rw-r--r--   1 bartoszstaryga  staff   2.0K Feb 22 16:05 version.bat
-rw-r--r--   1 bartoszstaryga  staff   1.9K Feb 22 16:05 version.sh


 Comments   
Comment by Bartosz Staryga [ 23/Feb/22 ]

FYI Running `chmod +x *` inside the `apache-tomcat/bin` does not solve the issue.

Generated at Mon Feb 12 04:48:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.