Re: [Tiki-users] Errors with setup.sh in Tiki 27 RC1 from git
Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Sat, 15 Jun 2024 17:23:42 +0200
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4283969549463283816== Content-Type: multipart/alternative; boundary="=-hnohtPOEZ03qkmpizxVu" --=-hnohtPOEZ03qkmpizxVu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Bernard! Thanks for the link. I studied your page, but couldn't find any clues about what goes wrong on here. The call of "sh setup.sh" ends with printing this line: ERROR: "checkEnvironment" exited with 1. But I couldn't find an error message about what went wrong with "checkEnvironment". Maybe something npm related... Cheers, Volker Am Samstag, dem 15.06.2024 um 08:23 +0200 schrieb Bernard Sfez via TikiWiki= - users: > Hello Volker, >=20 > Seems we all have our little fight to adapt to Tiki27 till we can enjoy > the awesome improvements there is there. =F0=9F=98=87 >=20 > This is a work in progress (and it will be till Tiki stabilizes), but I > wrote down how I solved the issues on my end: > https://www.bernardsfez.com/article95-How-to-upgrade-to-Tiki-27 >=20 > Hope this helps, > Bernard >=20 >=20 >=20 > > On 14 Jun 2024, at 17:47, Jonny Bradley via TikiWiki-users <tikiwiki- > > [email protected]> wrote: > >=20 > > >=20 > > > On 14 Jun 2024, at 16:10, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrote: > > >=20 > > > Am Freitag, dem 14.06.2024 um 15:18 +0100 schrieb Jonny Bradley via > > > TikiWiki-users: > > > > Hi Volker > > > >=20 > > > > Yes, Tiki now needs a build process if you're using it from git - > > > > the daily and release tarballs don't, so maybe try 27.0 RC1 - > > > > tarballs here: > > > > https://sourceforge.net/projects/tikiwiki/files/Tiki_27.x_Miaplacid= u > > > > s/27.0RC1/ > > >=20 > > > Is this build process documented anywhere? (apart from > > > https://dev.tiki.org/The-Tiki-27-plus-Build-System) > > >=20 > > > I'm considering to try to build a wiki dump feature by myself. So I > > > need the > > > git version. > > >=20 > > > >=20 > > > > Your setup seems to fail with: > > > >=20 > > > > > =C2=A0=C2=A0=E2=80=A2 ERROR: "checkEnvironment" exited with 1. > > > >=20 > > > > ...so that'll be the place to look for more info, but in the mean > > > > time, what is your environment? > > >=20 > > > My environment is Ubuntu Linux 22.04 LTS with PHP 8.2.8, Node.js > > > 21.7.3, npm > > > 10.5.0, MariaDB 8.0.37. > >=20 > > I'm not totally up to speed with all this but from package.json:43 it > > looks like your node and npm are in range - not sure how to check > > further what's broken, maybe ask (probably Benoit) on > > gitter?=C2=A0http://tiki.org/chat > >=20 > > jb > >=20 > >=20 > > >=20 > > > > Thanks for having a go, and thanks for the feedback! > > >=20 > > > Bye, > > > Volker > > >=20 > > > >=20 > > > > jonny > > > >=20 > > > >=20 > > > >=20 > > > > > On 14 Jun 2024, at 11:58, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrote= : > > > > >=20 > > > > > Hi. > > > > >=20 > > > > > I've followed these pages: > > > > >=20 > > > > > https://doc.tiki.org/Tiki27 > > > > > https://dev.tiki.org/The-Tiki-27-plus-Build-System > > > > >=20 > > > > > It says that Node.js is now needed for running setup.sh. I've > > > > > installed the > > > > > right version (from the snap) and get: > > > > >=20 > > > > > desktop ~ $ node --version > > > > > v21.7.3 > > > > > desktop ~ $ npm --version > > > > > 10.5.0 > > > > >=20 > > > > > I'm still unable to run setup.sh. Chosing "b", I got a long list > > > > > of errors > > > > > like this: > > > > >=20 > > > > > Class Text_Wiki_Render_Tiki_AllTests located in=C2=A0 > > > > > ./vendor/pear/text_wiki_mediawiki/tests/Text_Wiki_Render_Tiki_Tes= t > > > > > s.php > > > > > does not comply with psr-0 autoloading standard. Skipping. > > > > >=20 > > > > > And like this: > > > > >=20 > > > > > PHP Warning: > > > > > file_get_contents(vendor/thomaspark/bootswatch/dist/materia/boots= t > > > > > rap.min.cs > > > > > s): Failed to open stream: No such file or directory in > > > > > /var/www/html/tikisp/vendor_bundled/vendor/jason- > > > > > munro/cypht/scripts/config_gen.php on line 336 > > > > >=20 > > > > > I've uploaded the full log (setup.log) to Pastebin: > > > > > https://pastebin.com/T3XZMQVP > > > > >=20 > > > > > Near the end there is reported a (different?) issue: > > > > >=20 > > > > > --- > > > > > Running node install and build > > > > > + npm install --clean-install --engine-strict > > > > >=20 > > > > > removed 40 packages, and audited 409 packages in 2s > > > > >=20 > > > > > 88 packages are looking for funding > > > > > run `npm fund` for details > > > > >=20 > > > > > 1 high severity vulnerability > > > > >=20 > > > > > To address all issues, run: > > > > > npm audit fix > > > > >=20 > > > > > Run `npm audit` for details. > > > > > --- > > > > >=20 > > > > > I've done this ("npm audit fix") and it looks like that fixed the > > > > > issue. But > > > > > now I get a lot of errors again, when chosing "b": > > > > >=20 > > > > > $ sh setup.sh =C2=A0-p php8.2 =C2=A02>&1| tee /tmp/setup1.log > > > > >=20 > > > > > I've uploaded the setup1.log to Pastebin as well: > > > > > https://pastebin.com/c65vaMd3 > > > > >=20 > > > > > Cheers, > > > > > Volker > > > > >=20 > > > > >=20 > > > > > _______________________________________________ > > > > > TikiWiki-users mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > > >=20 > > > >=20 > > > >=20 > > > > _______________________________________________ > > > > TikiWiki-users mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > >=20 > > >=20 > > >=20 > > > _______________________________________________ > > > TikiWiki-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > >=20 > >=20 > >=20 > >=20 > > _______________________________________________ > > TikiWiki-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >=20 > _______________________________________________ > TikiWiki-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users --=-hnohtPOEZ03qkmpizxVu Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"overflow-wrap: break-word; -webkit-nbsp-m= ode: space; line-break: after-white-space;"><div>Hello, Bernard!</div><div>= <br></div><div>Thanks for the link. I studied your page, but couldn't find = any clues about what goes wrong on here.</div><div><br></div><div>The call = of "sh setup.sh" ends with printing this line:</div><div><br></div><div>ERR= OR: "checkEnvironment" exited with 1.</div><div><br></div><div>But I couldn= 't find an error message about what went wrong with "checkEnvironment". May= be something npm related...</div><div><br></div><div>Cheers,</div><div>Volk= er</div><div><br></div><div><br></div><div>Am Samstag, dem 15.06.2024 um 08= :23 +0200 schrieb Bernard Sfez via TikiWiki-users:</div><blockquote type=3D= "cite" style=3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-le= ft:1ex"><div>Hello Volker,</div><div><br></div><div>Seems we all have our l= ittle fight to adapt to Tiki27 till we can enjoy the awesome improvements t= here is there. =F0=9F=98=87</div><div><br></div><div>This is a work in prog= ress (and it will be till Tiki stabilizes), but I wrote down how I solved t= he issues on my end:</div><div>https://www.bernardsfez.com/article95-How-to= -upgrade-to-Tiki-27</div><div><br></div><div>Hope this helps,</div><div>Ber= nard</div><div><br></div><div><br id=3D"lineBreakAtBeginningOfMessage"><div= ><br><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; border-left:2px = #729fcf solid;padding-left:1ex"><div>On 14 Jun 2024, at 17:47, Jonny Bradle= y via TikiWiki-users <[email protected]> wrote:</d= iv><div><br class=3D"Apple-interchange-newline"></div><div><meta charset=3D= "UTF-8"><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; border-left:2= px #729fcf solid;padding-left:1ex"><div><br class=3D"Apple-interchange-newl= ine">On 14 Jun 2024, at 16:10, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrot= e:<br><br>Am Freitag, dem 14.06.2024 um 15:18 +0100 schrieb Jonny Bradley v= ia<br>TikiWiki-users:<br></div><blockquote type=3D"cite" style=3D"margin:0 = 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hi Volker<br= ><br>Yes, Tiki now needs a build process if you're using it from git - the = daily and release tarballs don't, so maybe try 27.0 RC1 - tarballs here: ht= tps://sourceforge.net/projects/tikiwiki/files/Tiki_27.x_Miaplacidus/27.0RC1= /<br></div></blockquote><div><br>Is this build process documented anywhere?= (apart from<br>https://dev.tiki.org/The-Tiki-27-plus-Build-System)<br><br>= I'm considering to try to build a wiki dump feature by myself. So I need th= e<br>git version.<br><br></div><blockquote type=3D"cite" style=3D"margin:0 = 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><br>Your set= up seems to fail with:<br><br></div><blockquote type=3D"cite" style=3D"marg= in:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div> &= nbsp;=E2=80=A2 ERROR: "checkEnvironment" exited with 1.<br></div></blockquo= te><div><br>...so that'll be the place to look for more info, but in the me= an time, what is your environment?<br></div></blockquote><div><br>My enviro= nment is Ubuntu Linux 22.04 LTS with PHP 8.2.8, Node.js 21.7.3, npm<br>10.5= .0, MariaDB 8.0.37.<br></div></blockquote><br style=3D"caret-color: rgb(0, = 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-va= riant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: s= tart; text-indent: 0px; text-transform: none; white-space: normal; word-spa= cing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span st= yle=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; = font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spa= cing: normal; text-align: start; text-indent: 0px; text-transform: none; wh= ite-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-= decoration: none; float: none; display: inline !important;">I'm not totally= up to speed with all this but from package.json:43 it looks like your node= and npm are in range - not sure how to check further what's broken, maybe = ask (probably Benoit) on gitter?<span class=3D"Apple-converted-space"> = ;</span></span><a href=3D"http://tiki.org/chat" style=3D"font-family: Helve= tica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-= weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text= -indent: 0px; text-transform: none; white-space: normal; widows: auto; word= -spacing: 0px; -webkit-text-stroke-width: 0px;">http://tiki.org/chat</a><br= style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14p= x; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-= spacing: normal; text-align: start; text-indent: 0px; text-transform: none;= white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; te= xt-decoration: none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0= px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-t= ext-stroke-width: 0px; text-decoration: none;"><span style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-a= lign: start; text-indent: 0px; text-transform: none; white-space: normal; w= ord-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; fl= oat: none; display: inline !important;">jb</span><br style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-a= lign: start; text-indent: 0px; text-transform: none; white-space: normal; w= ord-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><= br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 1= 4px; font-style: normal; font-variant-caps: normal; font-weight: 400; lette= r-spacing: normal; text-align: start; text-indent: 0px; text-transform: non= e; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family= : Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal= ; font-weight: 400; letter-spacing: normal; text-align: start; text-indent:= 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit= -text-stroke-width: 0px; text-decoration: none;"><blockquote type=3D"cite" = style=3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"= ><div><br></div><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; borde= r-left:2px #729fcf solid;padding-left:1ex"><div>Thanks for having a go, and= thanks for the feedback!<br></div></blockquote><div><br>Bye,<br>Volker<br>= <br></div><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; border-left= :2px #729fcf solid;padding-left:1ex"><div><br>jonny<br><br><br><br></div><b= lockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; border-left:2px #729fcf= solid;padding-left:1ex"><div>On 14 Jun 2024, at 11:58, Volker Wysk <pos= [email protected]> wrote:<br><br>Hi.<br><br>I've followed these pages:<br= ><br>https://doc.tiki.org/Tiki27<br>https://dev.tiki.org/The-Tiki-27-plus-B= uild-System<br><br>It says that Node.js is now needed for running setup.sh.= I've installed the<br>right version (from the snap) and get:<br><br>deskto= p ~ $ node --version<br>v21.7.3<br>desktop ~ $ npm --version<br>10.5.0<br><= br>I'm still unable to run setup.sh. Chosing "b", I got a long list of erro= rs<br>like this:<br><br>Class Text_Wiki_Render_Tiki_AllTests located in<spa= n class=3D"Apple-converted-space"> </span><br>./vendor/pear/text_wiki_= mediawiki/tests/Text_Wiki_Render_Tiki_Tests.php<br>does not comply with psr= -0 autoloading standard. Skipping.<br><br>And like this:<br><br>PHP Warning= :<br>file_get_contents(vendor/thomaspark/bootswatch/dist/materia/bootstrap.= min.cs<br>s): Failed to open stream: No such file or directory in<br>/var/w= ww/html/tikisp/vendor_bundled/vendor/jason-<br>munro/cypht/scripts/config_g= en.php on line 336<br><br>I've uploaded the full log (setup.log) to Pastebi= n:<br>https://pastebin.com/T3XZMQVP<br><br>Near the end there is reported a= (different?) issue:<br><br>---<br>Running node install and build<br>+ npm = install --clean-install --engine-strict<br><br>removed 40 packages, and aud= ited 409 packages in 2s<br><br>88 packages are looking for funding<br>run `= npm fund` for details<br><br>1 high severity vulnerability<br><br>To addres= s all issues, run:<br>npm audit fix<br><br>Run `npm audit` for details.<br>= ---<br><br>I've done this ("npm audit fix") and it looks like that fixed th= e issue. But<br>now I get a lot of errors again, when chosing "b":<br><br>$= sh setup.sh -p php8.2 2>&1| tee /tmp/setup1.log<br><br>= I've uploaded the setup1.log to Pastebin as well:<br>https://pastebin.com/c= 65vaMd3<br><br>Cheers,<br>Volker<br><br><br>_______________________________= ________________<br>TikiWiki-users mailing list<br>[email protected]= rceforge.net<br>https://lists.sourceforge.net/lists/listinfo/tikiwiki-users= <br></div></blockquote><div><br><br><br>___________________________________= ____________<br>TikiWiki-users mailing list<br>[email protected]= orge.net<br>https://lists.sourceforge.net/lists/listinfo/tikiwiki-users<br>= </div></blockquote><div><br><br><br>_______________________________________= ________<br>TikiWiki-users mailing list<br>[email protected]= .net<br>https://lists.sourceforge.net/lists/listinfo/tikiwiki-users<br></di= v></blockquote><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helveti= ca; font-size: 14px; font-style: normal; font-variant-caps: normal; font-we= ight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; tex= t-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-str= oke-width: 0px; text-decoration: none;"><br style=3D"caret-color: rgb(0, 0,= 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-vari= ant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: sta= rt; text-indent: 0px; text-transform: none; white-space: normal; word-spaci= ng: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br style= =3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; fon= t-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacin= g: normal; text-align: start; text-indent: 0px; text-transform: none; white= -space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-dec= oration: none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvet= ica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-w= eight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; te= xt-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-st= roke-width: 0px; text-decoration: none;"><span style=3D"caret-color: rgb(0,= 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-v= ariant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; word-sp= acing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: n= one; display: inline !important;">_________________________________________= ______</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica= ; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weig= ht: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-= transform: none; white-space: normal; word-spacing: 0px; -webkit-text-strok= e-width: 0px; text-decoration: none;"><span style=3D"caret-color: rgb(0, 0,= 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-vari= ant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: sta= rt; text-indent: 0px; text-transform: none; white-space: normal; word-spaci= ng: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none= ; display: inline !important;">TikiWiki-users mailing list</span><br style= =3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; fon= t-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacin= g: normal; text-align: start; text-indent: 0px; text-transform: none; white= -space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-dec= oration: none;"><a href=3D"mailto:[email protected]" sty= le=3D"font-family: Helvetica; font-size: 14px; font-style: normal; font-var= iant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto;= text-align: start; text-indent: 0px; text-transform: none; white-space: no= rmal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Tik= [email protected]</a><br style=3D"caret-color: rgb(0, 0, 0)= ; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant= -caps: normal; font-weight: 400; letter-spacing: normal; text-align: start;= text-indent: 0px; text-transform: none; white-space: normal; word-spacing:= 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href=3D"ht= tps://lists.sourceforge.net/lists/listinfo/tikiwiki-users" style=3D"font-fa= mily: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: no= rmal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; widows:= auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://lists.so= urceforge.net/lists/listinfo/tikiwiki-users</a></div></blockquote></div><br= ></div><pre>_______________________________________________</pre><pre>TikiW= iki-users mailing list</pre><pre><a href=3D"mailto:[email protected]= rceforge.net">[email protected]</a></pre><pre><a href=3D= "https://lists.sourceforge.net/lists/listinfo/tikiwiki-users">https://lists= .sourceforge.net/lists/listinfo/tikiwiki-users</a></pre></blockquote><div><= br></div><div><span></span></div></body></html> --=-hnohtPOEZ03qkmpizxVu-- --===============4283969549463283816== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4283969549463283816== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ TikiWiki-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-users --===============4283969549463283816==--