NewDisplayName Posted May 1, 2018 Share Posted May 1, 2018 Hi, i installed nextcloud on my unraid server as a docker and on my phone... But its crap. I put files in it manual per file browser (because this crap app is not able to syncronise 70gb). But now he doesnt recognize it and wont show up (i mean srsly? Is it 1920????) Also many errors while transfering, hammering my mobile (just wtf?) So, i want to change to some other program, which preferable just works... i would liketo have direct access to files via smb. Really cool would be that it transferes everything from handy and remove the files from mobile after X days. I saw owncloud (is it the same as nextcloud?) and seafile, can someone tell me anything about this apps? Quote Link to comment
Kode Posted May 1, 2018 Share Posted May 1, 2018 nextcloud is a fork of owncloud. Iirc most of the owncloud staff moved to start up nextcloud. Seafile is based in china I think, which might be a concern for some people, but if not it's supposed to be decent, I've not used it myself, but you are probably going to have issues with anything if you are having issues with Nextcloud. If you want to move files onto nextcloud the easiest way is to manually move them not using a browser or the app, then just commandline in and tell it to scan for files. Quote Link to comment
NewDisplayName Posted May 1, 2018 Author Share Posted May 1, 2018 Yeah, buit srsly, i dont want to run a cmd everytime i add a file to it.... i dont understnad why ppl dont build it so that if you refresh it just actually refreshes...!? Quote Link to comment
Kode Posted May 2, 2018 Share Posted May 2, 2018 I think we are all waiting for you to build it. Quote Link to comment
NewDisplayName Posted May 2, 2018 Author Share Posted May 2, 2018 Is it possible to use that cmd line like every day via user scripts or something? How u do it? Every time manual? Quote Link to comment
pwm Posted May 2, 2018 Share Posted May 2, 2018 1 minute ago, nuhll said: Is it possible to use that cmd line like every day via user scripts or something? How u do it? Every time manual? Lots of things can be done with cron scripts - that's normally how backup solutions are run. So you might configure scripts to run at 03:30 every night to synchronize. Quote Link to comment
NewDisplayName Posted May 2, 2018 Author Share Posted May 2, 2018 (edited) I just read about that cmd, but if i recall correctly i need to be inside the docker to run the cmd, can this also be automated? The thing is, you can put files into nextcloud, but he dont see them until u run a cmd. Edited May 2, 2018 by nuhll Quote Link to comment
Kode Posted May 2, 2018 Share Posted May 2, 2018 (edited) https://www.howtoforge.com/tutorial/trigger-commands-on-file-or-directory-changes-with-incron/ (though not sure how you would install it) in addition to something like docker exec -it nextcloud php /path/to/occ files:scan Edited May 2, 2018 by Kode 1 Quote Link to comment
NewDisplayName Posted May 2, 2018 Author Share Posted May 2, 2018 Thanks i will try that out (but i will just let it run once a day) its not that big of a problem, i think, when i can reach files after one day. (i dont add every day new files outside the cloud app) Quote Link to comment
hawihoney Posted May 2, 2018 Share Posted May 2, 2018 (edited) I went a different way. My unRAID shares, that I do want to see and maintain within NextCloud, are mapped as "External Storage" in NextCloud. Whenever I look into a folder/subfolder of that External Storage its content is populated/updated on the fly. Beside that NextCloud seems to update files from External Storages regulary. That way you can use your shares as usual with your SMB connection. Never looked back. I don't use NextClouds WebDav, PHP script, etc. They are a pain, really. Edited May 2, 2018 by hawihoney 1 Quote Link to comment
Kode Posted May 2, 2018 Share Posted May 2, 2018 Sounds like a good solution, I didn't know nextcloud worked that way Quote Link to comment
hawihoney Posted May 3, 2018 Share Posted May 3, 2018 External Storage support is an official app. You need to activate it in the settings. Then you get two new menu entries in the settings to maintain these. Quote Link to comment
NewDisplayName Posted May 3, 2018 Author Share Posted May 3, 2018 (edited) Now is only the question, whats the correct file structure for the nextcloud container? Var www nextcloud does not exist I bashed into the docker and find / occ.php find: occ.php: No such file or directory Edited May 3, 2018 by nuhll Quote Link to comment
unevent Posted May 3, 2018 Share Posted May 3, 2018 If you are wanting to sync your phone to unRAID there are better ways to handle that and there numerous apps for the phone too. I have Android and use SyncMe for photos, videos, documents, etc. I do use Nextcloud on unRAID, but I mainly use it for family calendar using SolCalendar app on phones (in a Virtualbox VM, not Docker). I have the Nextcloud app on the phones, but that is just for syncing pictures as they are taken. The bulk backups are synced using the SyncMe app. I have a share called Backups and under that a folder for each device. Quote Link to comment
NewDisplayName Posted May 3, 2018 Author Share Posted May 3, 2018 (edited) Okay i found out how its working: docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ files:scan --all I created a user script to be run every week, i guess thats okay. Edited May 3, 2018 by nuhll 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.