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

Possibility of using this -Storage Server- even with functions like NAS ... #3

Open
tgd1973 opened this issue Oct 14, 2019 · 13 comments

Comments

@tgd1973
Copy link

tgd1973 commented Oct 14, 2019

Hello.
It would be very useful if it can be equipped with many other freatures such as RAID, webdav, ftp, hdd local sharing ... so that can replace an existing NAS Server with this YouPHPTube-Storage software.
This saves you from having to keep two PCs opened in a lab.

@DanielnetoDotCom
Copy link
Member

I am not good on NAS, can you install apache into your NAS?

@tgd1973
Copy link
Author

tgd1973 commented Oct 16, 2019

Hello! I came back to ask if possible that the YouPHP-Storage software can use as data (videos) a second HDD mounted as a sdb ZFS (file system) from the NextCloud that should host it.
Nextcloud already uses apache http server., remains to be seen the other modules that YouPHP-Storage needs to work, if they are loaded. Can you make me a list of everything necessary for YouPHP-Storage, to adapt Nextcloud to be used also for this purpose? As DataBase Nextcloud uses PostgreSQL which I don't know if compatible with your software.

I should also see if it is possible to have this software in a subfolder like /var/www/nextcloud/YouPHP-Storage script folder ... but with data(videos) directory in the separate HDD ... as I said above.

Another thing ... Now I am using the FTP plug which allows me to have video files on a separate NAS server but I would like to change to the YouPHP-Storage system which seems more flexible. Can I use the same simlinks in YouPHPTube by moving only video files from my NAS to your new storage software?

For now, thanks.

@DanielnetoDotCom
Copy link
Member

YouPHPTube requires MySQL, we can not use the PostgreSQL

you will not be able to move from your FTP storage to YPTStorage

@tgd1973
Copy link
Author

tgd1973 commented Oct 16, 2019

I try to install Nextcloud with MySQL ... But I was interested if you can also tell me about the other modules for apache and the rest that are necessary for the operation of the YouPHP-Storage ...

The principle of operation of YouPHP-Storage is always based on symlink? If so, I could make a rename of the files like I did when I switched to FTP ... I have like 450 video file but I try ...
There is not much information about the description of how this Storage works ... and for this I ask ...

@DanielnetoDotCom
Copy link
Member

Basically you can find all what we use for the storage on those commands


sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install nano curl apache2 php7.2 libapache2-mod-php7.2 php7.2-curl php7.2-gd php7.2-intl php-xml php-mbstring git -y && a2enmod headers && service apache2 restart && cd /var/www/html && sudo git clone https://github.com/YouPHPTube/YouPHPTube-Storage.git && sudo a2enmod rewrite && sudo mkdir /var/www/html/YouPHPTube-Storage/videos && sudo chown www-data:www-data /var/www/html/YouPHPTube-Storage/videos

sudo apt-get install libapache2-mod-xsendfile && sudo a2enmod xsendfile

and yes, you can make a symbolic link with the videos directory and host in another mounted device

but the switch from FTP to Storage, you will need to update the database (videos table) with the new storage site

image

@tgd1973
Copy link
Author

tgd1973 commented Oct 16, 2019

So being complicated to do the database update (as you mentioned) ... what can you suggest? to be able to switch from FTP to YouPHP-Storage?

@DanielnetoDotCom
Copy link
Member

Purchase the YPTStorage plugin and hire me for 3 hours I will make the switch for you.

You will need to provide a server where I will be able to install the storage for you

If you agree, email me at developer@youphptube.com for details

@tgd1973
Copy link
Author

tgd1973 commented Oct 16, 2019

Thanks for the offer ... but I was referring to your claims of before that the FTP plug with YouPHPTube-Storage is not compatible. For the rest if you offer me explanations as I pass from one to another I think I can do it.

Now the question still remains if it deserves ... because now 30usd for FTP plug I have already spent ... to buy You-Storage software I have to spend another 60 ... then with the FTP plug I do not do anything more if not try reselling elsewhere to recover ... investment ... (sorry for I say this, right here) ...

@DanielnetoDotCom
Copy link
Member

Hi, sorry for the late reply.

sorry but I can not refund digital contents

@tgd1973
Copy link
Author

tgd1973 commented Oct 20, 2019

Hello ! I am trying to install the storage inside NextCloud but I have a problem with accessing files/folder similar to this from your server where you cannot see the folder on the browser page ...
https://storage2.youphptube.com/_YPTuniqid_5cd70b60e7ba76.30305934/

storage

The browser says:

Not Found
The requested URL /_YPTuniqid_5cd70b60e7ba76.30305934/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at storage2.youphptube.com Port 443


... but looking more carefully I noticed that apart from the main directory ... you can't do manual uploads inside the folders that generate them automatically (like _YPTuniqid_5cd70 ...) with the local button upload from Tiny File Manager ... The upload generates a file without extension and in another folder with a strange name ... something a strange thing ... With the original Tiny File Manager this thing does not happen ...

Can you tell me what it is due? and if a script error? possibly how to fix?


However regarding the addon to buy I would like to write to you in private.

@DanielnetoDotCom
Copy link
Member

I am not sure what is wrong in your site but in the storage sample is working fine

image

you not suppose to make uploads directly using the Tiny File Manager, the plugin will handle it

@tgd1973
Copy link
Author

tgd1973 commented Oct 21, 2019

I did the tests on your site and on mine and they work the same but it seems strange to me that the buttons that in Tiny in the original variant work and in the YouPHP-Storage variant no longer works ...
What could this file manager serve in YouPHP-Storage ... if it has buttons placed this way to be nice ...?

@DanielnetoDotCom
Copy link
Member

The Tiny File Manager is a third party app, I am not sure what is wrong.

I am using Ubuntu 16.04 on my storage BTW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants