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

cant deploy #113

Open
wildmarkos opened this issue Jan 9, 2024 · 11 comments
Open

cant deploy #113

wildmarkos opened this issue Jan 9, 2024 · 11 comments

Comments

@wildmarkos
Copy link

seems that there is an apache error when trying to deploy that ends giving error 400 in a fresh deployment... can you help me to deploy it in Render.com for example?

@lastsamurai26
Copy link
Member

Can you show us your docker compose. Iff you using your own folder and not the docker volume please fill the folder on your own and set inside of the container apache:apache to the folders

@wildmarkos
Copy link
Author

trying to deploy via:
https://hub.docker.com/r/linkstackorg/linkstack

it is using:
https:/LinkStackOrg/linkstack-docker/blob/main/docker-compose.yml

also tested with some changes in docker-compose.yml via fork, with not success.
here: https:/wildmarkos/linkstack-docker/blob/main/docker-compose.yml

investigating seems that could be that free accs doesnt have storage in Render.com(?)

@wildmarkos
Copy link
Author

Seems that is the same issue #111

@lastsamurai26
Copy link
Member

ok
if you are using this
volumes:
- /opt/containers/ls/httpdocs:/htdocs

then you need to fill the Folder on your own 

if you using this
volumes:
- ls_data:/htdocs

and at the End of the file

volumes:
ls_data:
the it works without filling

@wildmarkos
Copy link
Author

updated like this:
https:/wildmarkos/linkstack-docker/blob/main/docker-compose.yml

but seems that is problem that the free version of render doesnt support mount storage, can it be the problem? is there a workaround to deplot it without storage?

@lastsamurai26
Copy link
Member

lastsamurai26 commented Jan 9, 2024

`version: '3'
services:
  linkstack:
    container_name: linkstack
    image: linkstackorg/linkstack
    environment:
      - HTTP_SERVER_NAME="domain.me" 
      - HTTPS_SERVER_NAME="domain.me"
      - SERVER_ADMIN="[email protected]"
      - TZ="Europe/Berlin"
      - PHP_MEMORY_LIMIT="512M"
      - UPLOAD_MAX_FILESIZE="8M"
    restart: always
    volumes:
      - /opt/containers/ls_data/httpdocs:/htdocs
      - /opt/containers/ls_data/ssl_apache:/etc/ssl/apache2
    networks:
      - traefik_web
networks:
  traefik_web:
   external: true`

this is my compose and it works, the only things is you need to fill the folder by yourself ;)

@wildmarkos
Copy link
Author

do you know any service that can host and run this in free tier?

@saschabrockel
Copy link

saschabrockel commented Jan 9, 2024

I don't get why it has to be added manually. I mean every Docker service I know just works without an extra specified volume. And where do I get the files that belong to /htdocs?

For me, it was even worse. I had set up everything. I restarted Docker and realized everything was gone. Then I goddamn realized that there was nothing saved in the folder. I still don't know how it even used to work and saved my changes.

I guess that is maybe what happened to me: #2

@lastsamurai26
Copy link
Member

you need to unzip the download https:/linkstackorg/linkstack/releases/latest/download/linkstack.zip into the /htdocs folder an in side of the docker you need to ues chwon -R apache:apache /htdocs

Unraid is maintaned by one of our community

@saschabrockel
Copy link

@lastsamurai26 thank you but where is the difference in the unRAID package?

@lastsamurai26
Copy link
Member

@lastsamurai26 thank you but where is the difference in the unRAID package?

There should be no difference, but the config for Unraid was not provided by us but by the community because we cannot test it.

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