SmartPhoneLover Posted February 10, 2022 Share Posted February 10, 2022 (edited) This docker template was created based on an already available docker image GitHub: https://github.com/AlphaNecron/Void/ DockerHub: https://hub.docker.com/r/alphanecron/void My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates DESCRIPTION A self-hosted file hosting service based on Zipline with many features. Features: - Configurable - Fast and reliable - Elegant Web UI - Built with Next.js & React - Token-protected uploading - Easy to setup - Invisible URL - Emoji URL - Text previewing (with syntax highlighting) - Video embed - URL shortener - Discord bot - Password-protected URL - Embed customization (with variables) How to proceed after container installation? Before going into the next steps, configure the database container and run the required cmds. Then, after you have filled-in all the required fields (capital letters) from 'config.toml' file and Void's container was created (running)... 1. Wait until the container loads and is being configured internally. Then, it will be stopped (fail to start). This is an example of the log (Terminal) you should see. 2. Launch the container again, and open the terminal on it. 3. Run the following cmds: 'export DATABASE_URL=postgres://USER:[email protected]_IP:PORT/DB_NAME' (edit with your details) and 'yarn prisma db seed'. This is an example of the log you should see, if no errors. 4. Now you can login with default credentials. 5. Done! NOTES • The default credentials: admin/voiduser (user/pass). • An external PostgreSQL database is required. • Run the followind cmds and edit the 'config.toml' file before building the container: 'mkdir -m755 -p /mnt/user/appdata/void/config' and 'curl https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/dependencies/void/config.toml --output /mnt/user/appdata/void/config/config.toml'. VERSION 1.0 (2022-02-10) If you are going to report a bug or request something to be added/modified, please, take into consideration that I will only be able to apply changes for the work I own only. For example, if I create a docker template for an already existing docker image (not created by me), I won't be able to do more for that image than forward your report or request to the owner of the project. If you like my work, please consider making a little donation. - DONATE - Thank you very much 🙂 Edited February 10, 2022 by SmartPhoneLover Quote Link to comment
PSYCHOPATHiO Posted February 10, 2022 Share Posted February 10, 2022 Thought would give this a run, got an error with 3 tries installing it. This is after step 3, also if I used caps I will get wrong username or password output. An error occured while running the seed command: Error: Command failed with exit code 1: ts-node --compiler-options {"module":"commonjs"} prisma/seed.ts error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. /void # Quote Link to comment
SmartPhoneLover Posted February 10, 2022 Author Share Posted February 10, 2022 (edited) 44 minutes ago, PSYCHOPATHiO said: Thought would give this a run, got an error with 3 tries installing it. This is after step 3, also if I used caps I will get wrong username or password output. An error occured while running the seed command: Error: Command failed with exit code 1: ts-node --compiler-options {"module":"commonjs"} prisma/seed.ts error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. /void # Hello, just to clarify... After downloading the file (config.toml), did you modify it according to your details, before building the container. (secret, database_url) For example, if you create the PostgreSQl container with the following details, you must configure the same exact settings inside 'config.toml' file. All of this, before starting the Void container for the first time. - User: void - Pass: void - DB: void_db Here the same issue happent to another user, but seems to be fixed by, maybe executing the required cmds in the correct order, or editing the first command according to the details from PostgreSQL container. Edited February 10, 2022 by SmartPhoneLover Quote Link to comment
Joly0 Posted February 10, 2022 Share Posted February 10, 2022 Some screenshots would be nice to see if its worth a try, unfortunately there arent any on github either Quote Link to comment
crazyhorse90210 Posted February 10, 2022 Share Posted February 10, 2022 so the user/pass is stored as plaintext in appdata? i don't like that. Quote Link to comment
PSYCHOPATHiO Posted February 10, 2022 Share Posted February 10, 2022 2 hours ago, SmartPhoneLover said: Hello, just to clarify... After downloading the file (config.toml), did you modify it according to your details, before building the container. (secret, database_url) For example, if you create the PostgreSQl container with the following details, you must configure the same exact settings inside 'config.toml' file. All of this, before starting the Void container for the first time. - User: void - Pass: void - DB: void_db Here the same issue happent to another user, but seems to be fixed by, maybe executing the required cmds in the correct order, or editing the first command according to the details from PostgreSQL container. Modified it to some extent, didn't realize I needed to do more I will give it a try later & give u feedback, thanks for the work. 1 Quote Link to comment
SmartPhoneLover Posted February 10, 2022 Author Share Posted February 10, 2022 38 minutes ago, crazyhorse90210 said: so the user/pass is stored as plaintext in appdata? i don't like that. Just don't mount the affected directory. I will add a request to delete that link, or maybe create a different one, so the user will end with 3 different mount points to choose from. Quote Link to comment
SmartPhoneLover Posted February 10, 2022 Author Share Posted February 10, 2022 1 hour ago, Joly0 said: Some screenshots would be nice to see if its worth a try, unfortunately there arent any on github either Here I have made some... Quote Link to comment
PSYCHOPATHiO Posted February 11, 2022 Share Posted February 11, 2022 (edited) 18 hours ago, SmartPhoneLover said: Before going into the next steps, configure the database container and run the required cmds. Then, after you have filled-in all the required fields (capital letters) this line threw me off, I was putting down the user in caps so I was getting an error, nothing needs to be im caps. I'm confused lol anyway, the docker is running fine. I wasn't sure I wanted something like this but to be honest it is very nice, including sharex uploads & I also can put up temporary uploads of files & pics... this is a keeper This will replace my "xbackbone" docker as it's more useful. nice work Edited February 11, 2022 by PSYCHOPATHiO removed pictures 1 Quote Link to comment
Esseker Posted April 8, 2022 Share Posted April 8, 2022 (edited) Hey, I can't add another user without admin permission ? Checkbox marked* "requiered" It's normal ? Edit: Ok i have create User in admin and edit DB for disable admin bool value, maybe need to fix this. Edited April 8, 2022 by Esseker Quote Link to comment
PSYCHOPATHiO Posted September 3, 2022 Share Posted September 3, 2022 (edited) Just a note, The app hasn't been updated for a while so if you check your logs you will find 2 lines of command, you can execute using the console to update it. yarn add --dev [email protected] yarn add @prisma/[email protected] I would like to thank @SmartPhoneLover for bringing the docker to unraid, can't live without it now Edited September 3, 2022 by PSYCHOPATHiO Quote Link to comment
PSYCHOPATHiO Posted September 3, 2022 Share Posted September 3, 2022 On 4/8/2022 at 4:38 PM, Esseker said: Hey, I can't add another user without admin permission ? Checkbox marked* "requiered" It's normal ? I think this will be fixed once you update the app via console Quote Link to comment
Esseker Posted September 21, 2022 Share Posted September 21, 2022 Hey, i have a new trouble with this void ! I can't upload more than 50mb files with https link, when use local, no problem. I have already try to up bytes in config.toml. Try to set client_max_body_size to 0 for unlimited in nginx.conf... I use NPM for expose my void with cloudflare DNS. Thank's Quote Link to comment
darktemplar242 Posted January 22 Share Posted January 22 Default credentials returns 'user not found' for me, I've edited the config.toml file accordingly to setup instructions. admin/voiduser Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.