Code Monkey home page Code Monkey logo

Comments (20)

JulianPrieber avatar JulianPrieber commented on May 26, 2024

On docker?

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Behind a reverse proxy or does this also happen when accessing directly over the ip and port?

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Yes it is running on docker, that's a good question let me see if it does it from IP:Port

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Same results if going IP:Port

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Could you please turn on debugging in your config and try again?

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Now it wont let me login, I guess I have to restore from backup again, trying to make this persistent is becoming a real pain

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Is there a way to restore from backup?

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Is there a way to restore from backup?

Not really besides exctarcting the backup file inside the / (root) directory.

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Problem is with Unraid, I do not have easy access to the root directory of a container. Ultimately I dont think Little Link Custom is going to work on Unraid, since there is no way to do persistent storage, I tried but apparently something goes wrong when it unraid backs up appdata.

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Can you run docker commands from the Unraid shell?

Something like docker pull julianprieber/littlelink-custom

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

I believe so

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

You can try to run docker pull julianprieber/littlelink-custom this wont break anything so if this works I could help you setting up your docker image with persitent storage.

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Yes that works fine, no issues

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Alright, what port(s) would you like your docker to run on?

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

HTTP Port 2880
HTTPS Port 28443

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Please run the commands:

docker volume create llc-unraid

and

docker run --detach --name littlelink-custom-unraid --publish 2880:80 --publish 28443:443 --restart unless-stopped --mount source=llc-unraid,target=/htdocs julianprieber/littlelink-custom

Then your docker should be up and running without any issues.

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Where does it make the llc-unraid volume, is it in the docker img?

from linkstack-docker.

JulianPrieber avatar JulianPrieber commented on May 26, 2024

Its in one of your folders on your system. Everything inside that folder will persist even if you delete the docker container.

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Ok so according to the folks at unraid this will not work in unraid, because of the way shares are setup. But they told me to do essentially what I did last night, which was create both the appdata folder, and the docker container without mapping anything. Then copy the files from htdocs, to the appdata folder, rebuild mapping it in such a way.

However for whatever reason, overnight it created all the issues I now have with 404 and 500 errors galore.

They also recommended what would help on unraid, and apparently some other docker solutions; is to put the data that cannot be changed by the issue, maybe it's setup files, or whatever in htdocs, but all of the user data, the database, images, config files, in another folder. For your normal installations it's just a seperate folder alongside htdocs, but allow in the setup for that folder to be mapped elsewhere, and then unraid users could map it to their appdata folder, and everything would work great. If something were to happen to the container itself, they could simply reinstall and point that folder back to appdata and everything would be restored right away.

For now I am going to run it as non persistent and see if I run into any issues that way. Fingers crossed

from linkstack-docker.

chrisjameschamp avatar chrisjameschamp commented on May 26, 2024

Also trying to restore files from the backup.zip file causes a 500 error as well

from linkstack-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.