Commit graph

35 commits

Author SHA1 Message Date
Nick Sweeting
e085b1d13b
try to chown everything in ./data and only fallback to avoiding ./data/archive if it fails initially 2024-01-05 16:19:47 -08:00
gnattu
bc2bfc1cc7
fix: handle archive folder permission more graceful
On mounted network shares, chmod might be hard or impossible to do without modify the server config. Ignore the archive folder because we already tested if that folder is writeable and printed warnings to the user.
2024-01-05 12:57:01 +08:00
Nick Sweeting
3ddc0c7f7a fix free space calculation and make it based on absolute values instead of pcts 2024-01-04 17:24:31 -08:00
Nick Sweeting
2bb6dca294 check for available disk space on docker root fs and data volume and improve shell requoting 2024-01-04 15:58:45 -08:00
Nick Sweeting
48c9a49d56 fix shell re-quoting in docker_entrypoint.sh so that quoted subcommands can be passed in 2024-01-04 15:10:10 -08:00
Nick Sweeting
1f71fedff7 dont check for PGID=0 anymore 2024-01-02 17:22:54 -08:00
Nick Sweeting
6584f300d6 add better comments 2024-01-02 17:10:22 -08:00
Nick Sweeting
7410fddacf improve entrypoint error handling and color coding 2023-12-17 21:03:01 -08:00
Nick Sweeting
c259b3f2fd fix browsers chown on startup again 2023-12-17 17:59:10 -08:00
Nick Sweeting
1ce228e9bb fix /browsers/* does not exist chown error 2023-12-17 17:51:36 -08:00
Nick Sweeting
4a4ed2cad6 fix version string parsing 2023-12-17 17:44:26 -08:00
Nick Sweeting
35685cf6ea mkdir and chown browsers directory automatically in entrypoint script 2023-12-17 16:06:02 -08:00
Nick Sweeting
b9f25d84f3 catch edge case where user sets PUID=0 or autodetected PUID=0 and add hints about network filesystem permissions being messed with 2023-12-17 16:05:45 -08:00
Matteo Giordano
a8eade4dd0
Fix archivebox user UID & GID 2023-11-08 13:13:25 +01:00
Nick Sweeting
fd9803f3b7
chown PLAYWRIGHT_BROWSERS_PATH in entrypoint to fix archivebox setup 2023-11-07 01:49:48 -08:00
Nick Sweeting
166573d417 autodetect qemu and warn about broken chrome in emulated containers 2023-10-31 00:23:19 -07:00
Nick Sweeting
ce76c324a5 autodetect uid and gid from data dir contents 2023-10-30 23:50:27 -07:00
Nick Sweeting
019c012951 fix entrypoint chowning 2023-10-30 23:42:12 -07:00
Nick Sweeting
6b35c30e17 fix armv7 build for Docker and bare metal 2023-10-30 23:25:51 -07:00
Nick Sweeting
db360dea1f
Fix writing to stderr from docker entrypoint 2023-10-30 15:44:33 -07:00
Nick Sweeting
e7795550fc
add help message to permissions error output 2023-10-30 15:39:12 -07:00
Nick Sweeting
16796a63fd share PUID and PGID with child procs from entrypoint 2023-10-20 02:45:54 -07:00
Nick Sweeting
4f655fc4a1
Replace chown of entire data directory when ownership mismatch detected 2023-10-18 18:24:43 -07:00
Nick Sweeting
0b6064b7dd
Update docker_entrypoint.sh to use /bin/bash 2023-08-22 16:35:43 -07:00
Nick Sweeting
09842c1f7e autocreate logs dir 2021-03-27 05:28:54 -04:00
Nick Sweeting
19f7c907e0 exec archivebox from docker entrypoint script to avoid nesting pid under bash 2021-02-16 01:22:36 -05:00
Dan Arnfield
187ca7e2b5 Change env vars to linuxserver.io convention 2021-01-28 08:48:21 -06:00
Dan Arnfield
db96e7d75b Set archivebox UID/GID via envvars 2021-01-28 08:37:15 -06:00
Nick Sweeting
ea209fa575 make permission chowning on docker start less fancy 2021-01-25 18:55:37 -05:00
Nick Sweeting
5b15c8e29e silence usermod on start 2020-11-23 00:59:50 -05:00
Nick Sweeting
33ab7fd4ec autodetect when running inside docker and provide hints 2020-08-10 14:18:04 -04:00
Nick Sweeting
f6ec98e1c0 ignore stderr during chown 2020-07-28 07:58:16 -04:00
Nick Sweeting
ace9421b21 fix chown errors 2020-07-28 07:57:26 -04:00
Nick Sweeting
d7fc161ac7 update readme examples 2020-07-28 06:00:52 -04:00
Nick Sweeting
6b7dfa773e minor docker process tweaks 2020-07-22 01:30:58 -04:00
Renamed from bin/entrypoint.sh (Browse further)