Package Details: lemmy-ui 0.18.4-3

Git Clone URL: https://aur.archlinux.org/lemmy-ui.git (read-only, click to copy)
Package Base: lemmy-ui
Description: The official web app for lemmy
Upstream URL: https://github.com/LemmyNet/lemmy-ui
Licenses: AGPL3
Submitter: grawlinson
Maintainer: None
Last Packager: grawlinson
Votes: 4
Popularity: 0.013199
First Submitted: 2021-11-19 06:05 (UTC)
Last Updated: 2023-08-29 07:38 (UTC)

Latest Comments

grandchild commented on 2023-08-29 07:07 (UTC)

diff --git PKGBUILD PKGBUILD
index 45d56c3..26a0f9f 100644
--- PKGBUILD
+++ PKGBUILD
@@ -20,7 +20,7 @@ source=(
 )
 b2sums=('SKIP'
         'SKIP'
-        'be10249ba325338f9bd2b42ab2424ec546560806e7882020139c9bbc6ca65efb91af1a74c9a8ee5e7f4052da9017df822bd14f802c9e402e3719f9c29b970d52'
+        '45a104b346e866fdefd84e581eb2b1bb8d8e0aef2193a4a7996fc3d6f0541edb3da0bca766af487efea9760a6c655a1577d3cc901dee54ad0a0fd73182476a04'
         'ba5c683c5a71ceae18b009c7177def65de4311ecebed9d7d1e5d75e09aadb3d8b7ff2e5007d1eb23bdd3a2c389e581dc88c2131d492eaa8245269d75d63e07a7'
         '2d498b293181523feecff185cb8592dd5af90ed482755232b5ef7dc143dca2de4808073315c7d638e051ab4513464b8c8440d69d2f345de67d220b7c1b0009c2')

diff --git systemd.service systemd.service
index dd9d3c8..b16c852 100644
--- systemd.service
+++ systemd.service
@@ -7,8 +7,8 @@ Before=nginx.service
 User=lemmy
 Group=lemmy
 WorkingDirectory=/usr/share/lemmy-ui
-ExecStart=/usr/bin/node js/server.js
-EnvironmentFile=-/etc/lemmy/ui.env
+ExecStart=/usr/bin/node dist/js/server.js
+EnvironmentFile=-/etc/lemmy/lemmy-ui.env
 Restart=on-failure

 # Hardening

fried commented on 2023-08-19 04:49 (UTC)

I use your aur to install lemmy-ui but out of the box I get errors like this

Error: ENOENT: no such file or directory, stat '/usr/share/lemmy-ui/dist/service-worker.js'

So to fix it after I update I do a ln -s /usr/share/lemmy-ui /usr/share/lemmy-ui/dist

Which seems to work to silence the issues and make the website work.

XDjackieXD commented on 2023-06-17 22:56 (UTC)

Hi! Could you please add user/group creation and a systemd unit file (preferably using an environment file for the settings)?