[SUPPORT] SmartPhoneLover - Jirafeau


Recommended Posts

jirafeau_banner.png

 

This docker template was created based on an already available docker image


GitLab: https://gitlab.com/mojo42/Jirafeau
DockerHub: https://hub.docker.com/r/mojo42/jirafeau
My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates

 

DESCRIPTION
Jirafeau is a "one-click-filesharing": Select your file, upload, share a link. That's it.

 

Features:

- One upload → One download link & one delete link

- Send any large files (thanks to the HTML5 file API → PHP post_max_size limit not relevant)

- Shows progression: speed, percentage and remaining upload time

- Preview content in browser (if possible)

- Optional password protection (for uploading or downloading)

- Set expiration time for downloads

- Option to self-destruct after first download

- Shortened URLs using base 64 encoding

- Maximal upload size configurable

- NO database, only use basic PHP

- Simple language support with a lot of langages (help us on weblate!)

- File level Deduplication for storage optimization (does store duplicate files only once, but generate multiple links)

- Optional data encryption

- Small administration interface

- CLI script to remove expired files automatically with a cronjob

- Basic, adaptable »Terms Of Service« page

- Basic API

- Bash script to upload files via command line

- Themes

 

Live demo:
https://jirafeau.net/

 

What to do after first launch of Jirafeau?
After building and launching the container for the first time, you will be asked to configure it through a few steps.
1. Configure an admin password (admin panel), or leave it blank if you don't want to enter anything.
2. Configure the 'base address' (leave it as it is if using the service in a LAN, if not, configure it accordingly) and 'data directory' (set it as: /data).
3. You're done!

 

NOTES
• Run the following cmds before creating the container: 'mkdir -m755 /mnt/user/appdata/jirafeau/config' and 'curl https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/dependencies/jirafeau/config.local.php --output /mnt/user/appdata/jirafeau/config/config.local.php'.
• To access the admin panel, add 'admin.php' at the end of the container IP address: 'HOST_IP:PORT/admin.php'.

 

VERSION
1.0 (2022-01-28)


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
6 hours ago, learnin2walk said:

Hi - I'm getting a permission issue when launching the app. 

The file directory is not writable.
/data/files/

The link directory is not writable.
/data/links/

The async directory is not writable.
/data/async/

 

Can you try changing the permissions of main directory (/.../jirafeau) from 755 to 777? Does it continue with the configuration as it should now?

 

Also, what unRAID release version do you have?

Edited by SmartPhoneLover
Link to comment
  • 8 months later...
  • 3 weeks later...
On 10/18/2022 at 10:49 PM, Enphor said:

Followed instructions. Unable to access the admin console via admin.php due to no default password provided. Config file contains a hashed value. Tried the usuals, nothing in documentation, deleted.

did u read info above?

Spoiler

NOTES
• Run the following cmds before creating the container: 'mkdir -m755 /mnt/user/appdata/jirafeau/config' and 'curl https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/dependencies/jirafeau/config.local.php --output /mnt/user/appdata/jirafeau/config/config.local.php'.
• To access the admin panel, add 'admin.php' at the end of the container IP address: 'HOST_IP:PORT/admin.php'.

you should check config.local.php and it's options before container deployment. There is admin password section, generate hash with online generator and then deploy container

 

Link to comment
  • 3 weeks later...

To make this easier for the next person to come across the admin password issue here is how to fix it instead of the directions being buried in one of the changelogs.

 

1. Using the Unraid terminal function, run the command 'echo -n PASSWORD | sha256sum' and replace the word PASSWORD with your actual password. This is going to generate a hash. 

2. Copy and paste the hash into the admin_password field in the config file. Click save. 

 

Now your admin password will work. 

  • Like 1
Link to comment
On 11/8/2022 at 11:18 AM, Snyaify said:

did u read info above?

  Hide contents

NOTES
• Run the following cmds before creating the container: 'mkdir -m755 /mnt/user/appdata/jirafeau/config' and 'curl https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/dependencies/jirafeau/config.local.php --output /mnt/user/appdata/jirafeau/config/config.local.php'.
• To access the admin panel, add 'admin.php' at the end of the container IP address: 'HOST_IP:PORT/admin.php'.

you should check config.local.php and it's options before container deployment. There is admin password section, generate hash with online generator and then deploy container

 

Well, what you are saying is what the instruction should say Snualfy. You are filling in alot of blanks based on your experience. 

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