Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'extra-footer-text' (linx-server.conf) doesn't work #25

Open
SmartPhoneLover opened this issue Feb 2, 2022 · 2 comments
Open

'extra-footer-text' (linx-server.conf) doesn't work #25

SmartPhoneLover opened this issue Feb 2, 2022 · 2 comments

Comments

@SmartPhoneLover
Copy link

SmartPhoneLover commented Feb 2, 2022

Hello,

I would like to report that the 'extra-footer-text' variable is not working as it should when enabled in the 'linx-server.conf' file.

The container fails to start, showing the following error:
iniflags: unknown flag name=[extra-footer-text] found at line [49] of file [/data/linx-server.conf]

Thank you.

@ZizzyDizzyMC
Copy link
Owner

Hello,
This is due to the docker container being woefully out of date. I will have to update it sometime.

@PipeItToDevNull
Copy link

Hello, This is due to the docker container being woefully out of date. I will have to update it sometime.

I have created a revised container file, it would need slight modification due to how I use this as a submodule but it is here https://github.com/r-Techsupport/linx-container/blob/main/Containerfile

Something like the below should work

FROM golang:1.22-alpine3.20 AS build

RUN set -ex \
        && apk add --no-cache --virtual .build-deps git

COPY . /app
WORKDIR /app
RUN mkdir dist && go build -o dist/

FROM alpine:3.20

COPY --from=build /app/dist/linx-server /app/linx-server

ENV SSL_CERT_FILE /etc/ssl/cert.pem

COPY static /app/static/
COPY templates /app/templates/

RUN mkdir -p /data/files && mkdir -p /data/meta && mkdir -p /data/locks && chown -R 65534:65534 /data

VOLUME ["/data/files", "/data/meta", "/data/locks"]

EXPOSE 8080
USER nobody
ENTRYPOINT ["/app/linx-server", "-bind=0.0.0.0:8080", "-filespath=/data/files/", "-metapath=/data/meta/", "-lockspath=/data/locks/"]
CMD ["-sitename=linx", "-allowhotlink"]

You can pull the container I will maintain for my community with docker pull ghcr.io/r-techsupport/linx:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants