ImSkully Posted August 27, 2023 Share Posted August 27, 2023 (edited) 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 Requirements A PostgreSQL (14 or higher) database is required for Zipline, the official postgresql15 app is recommended Installation & Setup Install Zipline from community applications Update the required variables: (Optional) Adjust the container WebUI port, by default this is 8092. CORE_SECRET: A random string used to sign sensitive data CORE_DATABASE_URL: Your Postgres database connection string Done! Create the container and visit the web UI, you will be prompted to login, the default credentials are: Username: administrator 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 September 14, 2023 by ImSkully Quote Link to comment
gxs Posted August 27, 2023 Share Posted August 27, 2023 (edited) 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 August 27, 2023 by gxs Quote Link to comment
ImSkully Posted August 27, 2023 Author Share Posted August 27, 2023 (edited) @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 August 28, 2023 by ImSkully Quote Link to comment
Ditiae Posted August 28, 2023 Share Posted August 28, 2023 (edited) @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 August 28, 2023 by Ditiae 1 1 Quote Link to comment
gxs Posted August 28, 2023 Share Posted August 28, 2023 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 Quote Link to comment
ImSkully Posted August 28, 2023 Author Share Posted August 28, 2023 Zipline originally uses an image for PostgreSQL 15, I am personally using 14 and haven't had any issues though I have updated the template to reflect this information, thanks for letting me know. Quote Link to comment
gxs Posted August 28, 2023 Share Posted August 28, 2023 (edited) It was my old version. I've just installed PostgreSQL 15 and it works now. Thanks for the docker. Edited August 28, 2023 by gxs 1 1 Quote Link to comment
Airfirewall Posted August 29, 2023 Share Posted August 29, 2023 (edited) Having "Show Version in Sidebar:" set to false causes the webgui fail to load, shows "something went wrong..." after login in with administrator. Edited August 29, 2023 by Airfirewall Additional Info Quote Link to comment
ImSkully Posted August 29, 2023 Author Share Posted August 29, 2023 (edited) @Airfirewall This is a known issue (#450) in the current v3.7.3 release, an update that fixes this was just released and should be available now: Release v3.7.4 Edited August 29, 2023 by ImSkully Quote Link to comment
jonfive Posted February 18 Share Posted February 18 Just installed, love it. Is the 4gb container size normal? I've got everything pointing to /mnt/user folders Quote Link to comment
ImSkully Posted February 20 Author Share Posted February 20 (edited) On 2/18/2024 at 1:11 AM, jonfive said: Just installed, love it. Is the 4gb container size normal? I've got everything pointing to /mnt/user folders Unfortunately yes, this container comes straight from the latest release on the official GitHub: ghcr.io/diced/zipline:latest Zipline is incredibly bulky for some reason. Edited February 20 by ImSkully 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.