[SUPPORT] SmartPhoneLover - Void


Recommended Posts

void_banner.png

 

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:PASS@HOST_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 by SmartPhoneLover
Link to comment

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 #

Link to comment
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 by SmartPhoneLover
Link to comment
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.

  • Like 1
Link to comment

 

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 by PSYCHOPATHiO
removed pictures
  • Like 1
Link to comment
  • 1 month later...

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. 

 

 

 

1.png

Edited by Esseker
Link to comment
  • 4 months later...
  • 3 weeks later...

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

413.png

Link to comment
  • 4 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.