Package Details: wiki-js 2.5.302-1

Git Clone URL: https://aur.archlinux.org/wiki-js.git (read-only, click to copy)
Package Base: wiki-js
Description: Wiki.js | A modern, lightweight and powerful wiki app built on Node.js
Upstream URL: https://github.com/Requarks/wiki
Licenses: AGPL3
Submitter: dasbaumwolltier
Maintainer: Sandwich
Last Packager: Sandwich
Votes: 4
Popularity: 0.000000
First Submitted: 2020-12-14 21:29 (UTC)
Last Updated: 2024-05-01 17:20 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Sandwich commented on 2022-12-23 17:54 (UTC)

thats good, yeah a month befor i had to use openssl-1.1 unfortunetly.

dasbaumwolltier commented on 2022-12-12 14:21 (UTC)

I don't want to add the openssl-1.1 dep, as nodejs theoretically already depends on the correct version

Sandwich commented on 2022-11-09 16:10 (UTC) (edited on 2022-11-09 16:12 (UTC) by Sandwich)

I dont know yet how to contribute or make a request but here is the adjustet PKGBUILD I updated the version checksum and added openssl-1.1 as requirement

Maintainer: Gabriel Guldner <gabriel at guldner . eu>
Contributor: hashworks mail@hashworks.net

pkgname=wiki-js _pkgname=wiki-js pkgver=2.5.291 pkgrel=1 pkgdesc="Wiki.js | A modern, lightweight and powerful wiki app built on Node.js" license=('AGPL3') arch=('any') depends=('nodejs>=10.12.0' 'nodejs<17.0.0' 'openssl-1.1>=1.1.0') optdepends=('mariadb' 'postgresql') backup=('etc/wiki-js/config.yml') url='https://github.com/Requarks/wiki' source=( "wiki-js-${pkgver}.tar.gz::https://github.com/requarks/wiki/releases/download/v${pkgver}/wiki-js.tar.gz" "wiki-js.service" "wiki-js.sysusers" "wiki-js.tmpfiles" "config.sample.yml.patch" ) sha256sums=('e9c6a5356d085632f8f3806cb0702ef90c1551d43b753bdca12824f23a9c9309' '39bfd1390d3f2eba2522d750b89176aeefcdfdd1e3b2ba4d10276f1b7d3c55e8' '4e7fc467c43f5de2d1a355036abccb2ba23a6b10e1a93ae2d645e4352646bd55' '501ee03026279e6d01736767a590dd97ada35240896fc90a7a7c67c0a890b4d2' '02252fa88d1d02bddca7723f5c9a016b7f523587dd1d9695248dec8e63e56e1a')

prepare() { cd "$srcdir" patch config.sample.yml config.sample.yml.patch }

package() { cd "$srcdir"

    install -Dm644 "wiki-js.service" -t "${pkgdir}/usr/lib/systemd/system"
    install -Dm644 "wiki-js.sysusers" "${pkgdir}/usr/lib/sysusers.d/wiki-js.conf"
    install -Dm644 "wiki-js.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/wiki-js.conf"

    install -Dm644 -g 5494 "config.sample.yml" "${pkgdir}/etc/wiki-js/config.yml"

    install -Dm644 "package.json" -t "${pkgdir}/usr/lib/wiki-js"
    cp -a "assets" "server" "node_modules" "${pkgdir}/usr/lib/wiki-js"

}

dplusplus commented on 2022-01-07 08:40 (UTC)

The path ../config.sample.yml.patch in the PKGBUILD prepare() can be just config.sample.yml.patch because makepkg and friends automatically create symlinks, pointing to every source file, in $srcdir. It'll be nice to make this change because the relative path breaks when pointing $srcdir to a ramdisk (for speeding up building).

dasbaumwolltier commented on 2021-12-16 20:14 (UTC) (edited on 2021-12-18 12:10 (UTC) by dasbaumwolltier)

@eh8 @robled As you can only have one node version installed, I capped the dependency at 17. Thank you for your investigation

eh8 commented on 2021-12-16 19:45 (UTC)

@robled great catch, thanks for investigating

@dasbaumwolltier can you update the dependencies such that nodejs-lts-erbium, nodejs-lts-fermium, or nodejs-lts-gallium are required rather than the main nodejs package?

robled commented on 2021-12-16 06:34 (UTC) (edited on 2021-12-16 06:34 (UTC) by robled)

The issue apparently was introduced with the update to nodejs 17. The nodejs-lts-gallium package provides nodejs 16, so this has resolved it for me: pacman -S nodejs-lts-gallium

https://github.com/Requarks/wiki/discussions/4617

dasbaumwolltier commented on 2021-12-14 15:47 (UTC)

I am really not sure what the solution to the problem is

robled commented on 2021-12-12 21:04 (UTC) (edited on 2021-12-13 03:47 (UTC) by robled)

The problem occurred after a recent pacman -Syu. Updating to the latest PKGBUILD here doesn't resolve it. As of right now I've not found any logging beyond what's sent to the systemd journal:

Dec 12 15:52:03 wikijs.example.com node[67713]: Loading configuration from /etc/wiki-js/config.yml... OK
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.402Z [MASTER] info: =======================================
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.404Z [MASTER] info: = Wiki.js 2.5.255 =====================
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.404Z [MASTER] info: =======================================
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.404Z [MASTER] info: Initializing...
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.801Z [MASTER] info: Using database driver sqlite3 for sqlite [ OK ]
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.805Z [MASTER] info: Connecting to database...
Dec 12 15:52:03 wikijs.example.com node[67713]: 2021-12-12T20:52:03.812Z [MASTER] info: Database Connection Successful [ OK ]
Dec 12 15:52:04 wikijs.example.com node[67713]: 2021-12-12T20:52:04.205Z [MASTER] info: Loading GraphQL Schema...
Dec 12 15:52:04 wikijs.example.com node[67713]: 2021-12-12T20:52:04.555Z [MASTER] error: Package subpath './public/extractFiles' is not defined by "exports" in /usr/lib/wiki-js/node_modules/extract-files/package.json

dasbaumwolltier commented on 2021-12-12 21:00 (UTC)

I'm sorry, I couldn't reproduce it (in the short test I did), although I also don't daily drive it anymore. But if there is more error, I would appreciate the stack trace or smth.