Hi Phillipe, please take a look at Bug 37911, specifically David’s commit message on 0d2ae2a10f86553285ce0c6107aa39c52f17f1a4 in 25.05.x.
Just tested with dev while writing to /opt/koha which worked. With the default path I ran into the same permission issues that you mentioned. Hope this is helpful. Kind regards Paul -- LMSCloud GmbH Paul Derscheid - Software Engineer Bismarckstr. 3 - D-72764 Reutlingen e paul.dersch...@lmscloud.de w www.lmscloud.de > On 20. Aug 2025, at 17:48, Philippe Blouin via Koha-devel > <koha-devel@lists.koha-community.org> wrote: > > Hi! > > I had the problem in May, and a new one poped up in August. Any help or clue > would be welcomed. > > When building 25.05 (dev), I get > > bundling api/v1/swagger/swagger.yaml... > 📦 Created a bundle for api/v1/swagger/swagger.yaml at > api/v1/swagger/swagger_bundle.json 267ms. > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.LICENSE.txt': Permission > denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.LICENSE.txt': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission > denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.LICENSE.txt': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js.map': Permission > denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js.map': Permission > denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js.map': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission > denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js': Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js.map': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js': > Permission denied > cp: cannot create regular file > 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js.map': > Permission denied > make: *** [Makefile:9439 <makefile:9439>: move_compiled_js] Error 1 > chmod: cannot access '/inlibro/koha/v25-dev-blou/man': No such file or > directory > make: *** [Makefile:12623 <makefile:12623>: set_koha_permissions] Error 1 > > I'm a bit confused as to why it does that only for those. For example, "doc" > is installed correctly, but "man" is not created. And the "cannot create" > messages are doubly confusing because the files a ultimately created (albeit > with 444 permissions). > > > > > > <https://inlibro.com/> PHILIPPE BLOUIN > DIRECTEUR DE LA TECHNOLOGIE > > T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 > C philippe.blo...@inlibro.com <mailto:philippe.blo...@inlibro.com> > > WWW.INLIBRO.COM <https://inlibro.com/> > On 2025-05-06 17:22, Philippe Blouin via Koha-devel wrote: >> Hi! >> >> Unexpected issue with our dev installs: when doing "make" (after the perl >> Makefile.PL, without errors), I now get >> >> make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', >> needed by 'pm_to_blib'. Stop. >> >> on master. First time I try in 2025. >> >> I see two possibilities: I need to upgrade my koha-deps package (we're at >> 24.05), or there's something wrong in the code. >> >> Can someone in a different timezone enlighten me ? Practically, I can't >> upgrade the packages to 24.11, our installs are all on 24.05. Any hack is >> welcomed :-) >> >> Cheers, >> >> >> >> -- >> <https://inlibro.com/> PHILIPPE BLOUIN >> DIRECTEUR DE LA TECHNOLOGIE >> >> T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 >> C philippe.blo...@inlibro.com <mailto:philippe.blo...@inlibro.com> >> >> WWW.INLIBRO.COM <https://inlibro.com/> >> >> _______________________________________________ >> Koha-devel mailing list >> Koha-devel@lists.koha-community.org >> <mailto:Koha-devel@lists.koha-community.org> >> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel >> website : https://www.koha-community.org/ >> git : https://git.koha-community.org/ >> bugs : https://bugs.koha-community.org/ > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org > https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel > website : https://www.koha-community.org/ > git : https://git.koha-community.org/ > bugs : https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/