Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | File Browser #2560

Closed
msongz opened this issue Feb 17, 2019 · 9 comments · Fixed by #4686
Closed

DietPi-Software | File Browser #2560

msongz opened this issue Feb 17, 2019 · 9 comments · Fixed by #4686
Assignees
Milestone

Comments

@msongz
Copy link
Contributor

msongz commented Feb 17, 2019

Creating a software request

Formal software information

Are there similar/alternative software titles available with DietPi-Software?

  • nextcloud
  • owncloud

What makes your requested software better than the above solutions, if available?

  • lightweight
  • easy to use

How can DietPi make the installation easier or compatible, than following the install instructions or do APT installation, if available?

  • ...

Can you provide the installation steps that you would suggest DietPi-Software to do?

  1. just follow offical steps

Are you willing to help maintaining the software installation, e.g. in case of needed setup changes due to updates etc.? This is not needed, but could speed up our decision to implement it, as man power is always a topic 😉.

  • ...
@msongz msongz changed the title filebrowser DietPi-Software | filebrowser Feb 17, 2019
@MichaIng
Copy link
Owner

MichaIng commented Feb 17, 2019

@msongz
Thanks for your request.

This is even closer to Syncthing than to ownCloud/Nextcloud. A very simple web based file access implementation

Related forum request: https://dietpi.com/phpbb/viewtopic.php?t=4008

@CouldBeThis
Copy link

I would like to motivate this further as I don't think there is anything currently filling this use case.

The project is a model of restrained development. Does one thing perfectly with just a few essential customizations, and nothing else.

@MichaIng
Copy link
Owner

Detailed setup instructions: https://dietpi.com/phpbb/viewtopic.php?p=36827#p36827

@Joulinar
Copy link
Collaborator

@MichaIng
If you like, I could have a look on implementing this for 7.6

@MichaIng
Copy link
Owner

Would be awesome, sounds pretty doable and a great light-end file sharing/browser implementation that was still missing. +1 for systemd unit you suggested. Then probably an own service user, but with dietpi as primary group and UMask=002 so that other members of the dietpi group have full access to those files? Could be handy when using it for media stuff, an NFS/Samba drive included etc.

@Joulinar
Copy link
Collaborator

Ok good. Will look into this once 7.5 has been released.

@Joulinar
Copy link
Collaborator

Joulinar commented Aug 19, 2021

@MichaIng
Question: do you like to use filebrowser install script or should we adapt the steps accordingly.

Filebrowser install script basically detects os + arch and is going to create GitHub download URL

https://github.com/filebrowser/get/blob/0581887ba29c534a1d661b0df4d2001b779cde79/get.sh#L109-L111

Similar we do on other installs 😄

EDIT
This should do it
curl -fsSL 'https://api.github.com/repos/filebrowser/filebrowser/releases/latest' | mawk -F\" '/"browser_download_url": .*\/linux\-arm64\-filebrowser\.tar\.gz"/{print $4}'

just need to replace arm64 and make it a variable

@MichaIng
Copy link
Owner

Yes exactly, we can adopt the steps we do in many other cases and skip the overhead of the installer, detecting the OS etc. You should also find the cases where we define the arch= variable based on $G_HW_ARCH to find the correct URL.

@Joulinar
Copy link
Collaborator

yep. I'm just waiting on 7.5 release and the initial PR for 7.6 😉

@Joulinar Joulinar added this to the v7.6 milestone Aug 24, 2021
@Joulinar Joulinar self-assigned this Aug 24, 2021
@Joulinar Joulinar linked a pull request Aug 24, 2021 that will close this issue
2 tasks
@MichaIng MichaIng added the Solution available 🥂 Definite solution has been done label Sep 16, 2021
@MichaIng MichaIng changed the title DietPi-Software | filebrowser DietPi-Software | File Browser Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants