[Support] ImSkully - Zipline


Recommended Posts

zipline_small.png

A file upload server (supporting instant file sharing via ShareX/Flameshot) that is easy to use, packed with features, and simplified setup!
This is the support thread for the Zipline Community Application.

 

Website | Registry | Documentation | Template Repo

 

This application template contains a highly configurable setup and installation with the option of a simple two-step install or a much more advanced configuration via additional template options.

Zipline Features

  • Lightning fast
  • Built with Next.js & React
  • Seamless integration with ShareX/Flameshot
  • Image uploading and compression
  • URL shortening, text snippet & file uploads with code highlighting, image sharing service
  • Token protected uploading with optional password protected uploads
  • URL formats (uuid, dates, random alphanumeric, original name, zws, gfycat -> animals adjectives)
  • Gallery viewer and multiple file format support
  • Fully customizable Discord webhook notifications
  • OAuth2 registration (Discord and GitHub)
  • And much, much more!

Screenshots

Spoiler

14Er7qt.png

 

3JK5bp6.png

 

Jtk7P3b.png

 

oMQppBc.png

 

dvH5XGc.png

 

hQzmQoe.png

 

iTr1Ao2.png

 

lVLy7f4.png

Requirements

  1. A PostgreSQL (14 or higher) database is required for Zipline, the official postgresql15 app is recommended

Installation & Setup

  1. Install Zipline from community applications
     
  2. Update the required variables:
    1. (Optional) Adjust the container WebUI port, by default this is 8092.
    2. CORE_SECRET: A random string used to sign sensitive data
    3. CORE_DATABASE_URL: Your Postgres database connection string
       
  3. Done! Create the container and visit the web UI, you will be prompted to login, the default credentials are:
    1. Username: administrator
    2. Password: password (recommended you change this immediately after login)

Additional Configuration

There are a number of additional variables available to customize your Zipline instance, refer to the official documentation for their usage.

Support

If you have any issues with the template or it has gone out of date, please let me know and I will update it - otherwise you are welcome to leave any support queries below.

 

Edited by ImSkully
Link to comment

Ok I need some help. But first let me just say that I hate postgres. :)

I can't get this to work (database connection problems).

 

I have tried:

postgresql://rootuser:rootpassword@serverip:5432

 

And it still doesn't work even though I have created the database. I have even created a database and a proper user and granted privileges but I can't connect. 

 

I get this error: Error: P1013: The provided database string is invalid. invalid port number in database URL.

 

And yes I have triple checked the ports.

 

Either I'm doing something wrong or I'm missing something here. Please help.

 

 

Edit:

Creating a separate user gives me this:

2023-08-27 10:48:15,390 PM info  [database::migrations] ensuring database exists, if not creating database - may error if no permissions
2023-08-27 10:48:15,571 PM error [database::migrations] failed to push schema
2023-08-27 10:48:15,572 PM error [database::migrations] Failed to migrate database... exiting...
2023-08-27 10:48:15,575 PM error [database::migrations] Error: db error: ERROR: function gen_random_uuid() does not exist

Edited by gxs
Link to comment

@gxs What version of postgres are you running?

 

Also it looks like you are missing the database at the end of the string:

postgresql://USERNAME:PASSWORD@HOST:PORT/DATABASE
  • USERNAME: Your PostgreSQL username
  • PASSWORD: The password to the account
  • HOST: The host name (likely your Unraid server IP if its running on the same server)
  • PORT: Postgres port (default 5432)
  • DATABASE: The database to use (recommend 'zipline', it will be automatically created)

 

So in your case, try: postgresql://rootuser:rootpassword@serverip:5432/zipline

Edited by ImSkully
Link to comment

@gxs I believe the issue you are having is related to postgres version. I'd suggest using postgresql13 or higher since that comes bundled with gen_random_uuid by default, where with 12, you need to load the extension. I'm rather new to all this as well though, so I could be slightly incorrect, but, that's what fixed that issue for me.

Edited by Ditiae
  • Like 1
  • Thanks 1
Link to comment
15 hours ago, Ditiae said:

@gxs I believe the issue you are having is related to postgres version. I'd suggest using postgresql13 or higher since that comes bundled with gen_random_uuid by default, where with 12, you need to load the extension. I'm rather new to all this as well though, so I could be slightly incorrect, but, that's what fixed that issue for me.

Probably it then as I've just checked and I'm running Postgresql 12.5.

 

Thanks

Link to comment
  • 5 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.