Jump to content

Jessie

Members
  • Posts

    268
  • Joined

  • Last visited

Posts posted by Jessie

  1. If you want to run 2 servers of the same domain, that is easy. eg cloud.mydomain.com, cloud2.mydomain.com.

    Use different ports on the nextcloud dockers. eg 444 and 446. Run 2 mariadb dockers.  Give them dofferent ports eg 3306 and 3305.

    Same scenario for collabora.

     

    I'm assuming you are running unraid dockers. I think the letsencrypt docker only handles 1 domain and it needs to have port 443 and an 80?? port, so I'd reckon the other domain would need to be on a different WAN.  You could probably run them on the same unraid server but with separate wan ports.

     

  2. Isolation tends to make the mind wander.

    I was thinking about the function of the parity drive.

    Let me say that I think this would be a very bad idea, but..

     

    Could the parity drive be used to save 2 files on the disk in the same disk space?  ie with the aid of the parity drive, you could save 2tb of uncompressed data on a 1tb drive.  The parity drive would untangle the mess to extract the actual file.  File security I imagine would be about as safe as raid0.  Or probably worse.  I would imagine the margin for error would be high.

     

  3. On 4/1/2020 at 8:41 AM, nraygun said:

    My instance of Nextcloud is also stuck.

    I edited the config.php file as you recommended and now it just says "Update in process". Before it said it was on step 6.

    Has anyone else gotten their Nextcloud back up and running after trying to upgrade to 18.03? Mine is dead in the water right now!

    If it is not continuing, try a repair.

    Open a nextcloud console and enter something like this

    sudo -u abc php /config/www/nextcloud/occ maintenance:repair

    after the repair you could try 

    sudo -u abc php /config/www/nextcloud/occ upgrade

    to attempt the completion of the upgrade via commandline.

    Then restart and see if it starts up.

     

    Another way to turn maintenance mode off is something like below.

    sudo -u abc php /config/www/nextcloud/occ maintenance:mode --off

     

    If all else fails, there should be a backup of your old config in the nextcloud data folder. You can copy the directory structure back to the appdata directory using crusader and restart nextcloud.

     

     

  4. On 3/28/2020 at 12:27 AM, InfInIty said:

    I tried to update nextcloud through the web updator, and now all i get is step 6 is running please refresh the page later.

     

    I have tried to research fixing this, but have not had much luck.  Has anyone here had to do that?

    If step 6 is before it goes into maintenance mode, back arrow on your browser to bring back the settings page, then wait.  It is most likely finising off sep 6.  After a while click on update again and it will let you resume,  If step 6 is after maintenance mode and it doesn't come back, edit your config.php file with notepad++ or similar.  find a line that says "'maintenance' => true," and change it to "'maintenance' => false," and restart nextcloud.  You can then reattempt the upgrade.

  5. On 8/16/2018 at 4:02 AM, sansoo22 said:

    Finally got around to getting the HP 220 card installed.  My girlfriend is a teacher and was using my Emby server to binge watch Criminal Minds before starting school again.  I've learned not to upset her in that last week or two before school.  Looks like the the "UDMA CRC Error count" issue can finally be put behind me.  I replaced the Seagate drive that had a couple "187 Reported Uncorrect" errors on it as well.  I thought it had died because there was about 200 write errors to it when trying to spin up a VM and unRAID disabled.  So i put the new drive in let it rebuild and the same thing happened again.  Disk 2 was disabled by unraid and i had to remove it, start the array, stop the array, and its currently rebuilding on to itself.  Its a brand new disk that i ran a full extended SMART test on before installing with 0 errors.  I even ran another short test from within unRAID when it was disabled and its all green.

     

    So something with that old VM that used to have the 2 1060s assigned to it is so borked its causing a disk to have a ton of bad writes.  I was quite shocked to see this behavior.

     

    Anyway the original point of this topic is solved and the answer is don't use on board sata.  Hit up ebay and get a SAS card.

    A bit late to reply to this but I wonder whether the errors may have been a byproduct of the power supply being too small?

  6. Is anyone building unraid systems using Ryzen 3000 processors yet?

     

    The last system I built used a Ryzen 7 2700 and Gigabyte AX370 gaming 5 motherboard which worked very well.

    One thing I noticed however was that I couldn't get pass through to gpu's to work with the latest firmware.

    I presume the latest firmware catered for the 3000 processors so had to regress to a pre 3000 version of the firmware.

     

    Now I want to build more machines on an AMD platform and cant source the above hardware anymore.

     

    I would like to progress to the 3000 hardware and probably an AX570 something motherboard but not much point if it wont work..

     

  7. On 9/29/2019 at 9:29 AM, theedon323 said:

    I have setup Nextcloud 16.0.4 using spaceinvaders tutorial. I have everything running the only problem is downloading big files. I have successfully downloaded a 1.7GB but anything bigger it fails after 5 seconds. I have set max body size to 0 within nextcloud and letsencrypt appdata like some tutorials suggest but that only fixed the large file uploads.

    Any other ideas? TIA

    Not sure what settings I should post.

    letsencrypt/nginx nginx.config

    
    http {
    
    	##
    	# Basic Settings
    	##
    
    	sendfile on;
    	tcp_nopush on;
    	tcp_nodelay on;
    	keepalive_timeout 65;
    	types_hash_max_size 2048;
    	# server_tokens off;
    
    	# server_names_hash_bucket_size 64;
    	# server_name_in_redirect off;
    
    	client_max_body_size 0;
    
    	include /etc/nginx/mime.types;
    	default_type application/octet-stream;

    letsencrypt/nginx proxy.config

    
    client_body_buffer_size 128k;
    
    #Timeout if the real server is dead
    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
    
    # Advanced Proxy Config
    send_timeout 5m;
    proxy_read_timeout 240;
    proxy_send_timeout 240;
    proxy_connect_timeout 240;
    
    # TLS 1.3 early data
    proxy_set_header Early-Data $ssl_early_data;
    
    # Basic Proxy Config
    proxy_set_header Host $host:$server_port;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto https;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Ssl on;
    proxy_redirect  http://  $scheme://;
    proxy_http_version 1.1;
    proxy_set_header Connection "";
    #proxy_cookie_path / "/; HTTPOnly; Secure"; # enable at your own risk, may break certain apps
    proxy_cache_bypass $cookie_session;
    proxy_no_cache $cookie_session;
    proxy_buffers 32 4k;
    proxy_headers_hash_bucket_size 128;
    proxy_headers_hash_max_size 1024;

     

    A partial answer.

    I found no issues with file size when using the client.  It gets cranky and errors if over 2gb but it has another go until it completes.

     

    via the web browser, the nginx proxy.conf file used to have a first line " client_max_body_size 2048m;".  Originally the 2048 was 10m.  This allowed me to send up to 2gb.  Doesn't seem to work beyond that.  The later version proxy.conf file seems to be missing this line.

  8. On 10/1/2019 at 12:27 AM, Ustrombase said:

    Another question, how are deleted files handled when you delete a file through NC vs directly through a SMB share?

    When you delete a file or change a file, if you access your account via web interface on the left column at the bottom, you will find "deleted files".  They are in there.

     

    If you change a document for example select the document then select the "..." to the right, then select "versions" and you can retrieve earlier versions of the document if they exist. You can restore previous versions from here.

  9. On 10/1/2019 at 12:25 AM, Ustrombase said:

    I am having issues setting up my two factor, can anyone help?

    Generate the recovery codes

    Make sure you have a print of the recovery codes

    For android phones, Load the "Two-Factor Authentication via Nextcloud notification" app.

    This will bring up a pop up on the android. You press approve to login.

     

    For IOS load the TOTP provider app.  This will utilise the TOTP provider where you enter a security number to access.

    Disappointed that the first option is not available for apple.

     

    If you have nextcloud account open in another browser, you can allow access from there.

  10. 7 hours ago, ur6969 said:

    I just need local sync for pictures and a document folder and feel like not opening it up to the internet is a safer solution for something I don't fully understand.

     

    A simpler way to solve my problem would be to have the current "Phone Pictures" folder I have sync itself with Nextcloud.  Then I could drop the photos in it and it would make them available to any of my devices.  However, from what I can tell, adding a folder to Nextcloud isn't an option.

    if you connect to the client to the server using the ip address of the server (eg 192.168.x.x) you should be able to do it internally.  There are settings in the client to configure up load of the pictures to the server.  You need to turn them on as well.  The photos will automatically upload when the phone sees your wifi connection.

  11. On 9/25/2019 at 11:53 AM, ur6969 said:

    My home Unraid server is hosting Nextcloud and I only sync locally with some laptops and phones.  I have an android phone that takes lots of pictures and has always run a sync app to my main laptop to transfer the pictures.  In years past I ran an always on desktop that I would sync the phone to every night.  Now with an always on Unraid server I hardly ever fire up the desktop and do not want to leave it running for tasks like this.

     

    Is it possible to have this phone sync to a folder in Nextcloud ON THE SERVER without using the Nextcloud app?  I have tried the app it but haven't really been satisfied.  FWIW I can create a folder in a network share and easily sync to it, but would prefer to have the same folder in Nextcloud where it would be available on all of my devices.

     

     

    Yes, but you really need the nextcloud app in the phone. If set up correctly it works fine. 

    Highly recommend setting up letsencrypt docker on unraid server so that nextcloud is available to internet.

    If you don't have a static address you can use duckdns to establish a presence in the internet.

    You can lock it down using 2 factor auth if concerned that someone might find out your login details.

  12. Internal Server Error

    The server was unable to complete your request.

    If this happens again, please send the technical details below to the server administrator.

    More details can be found in the server log.

    Technical details

    Remote Address: 172.17.0.1

    Request ID: 6YCBBGgRTNIT8JV7SuEv

     

    I get this error when a new user signs in.

    A second attempt will allow a sign in but the default data is corrupted. (the demo photos etc)

    It only happens if the "Maps" app is installed to the server.

    If I uninstall the Maps application, everything works ok.

     

    Anyone else had problems?

     

  13. ASUSTeK COMPUTER INC. PRIME X370-PRO

    BIOS American Megatrends Inc. Version 4207. Dated: 12/08/2018

    AMD Ryzen 7 2700 Eight-Core @ 3200 MHz

    16gb DDR4 ram

    Gigabyte GTX 1030 2GB Low Profile (N0 Fans)

    Renasas USB controller passed through to the VM

    ASUS gt710 primary GPU (no fans)

    Samsung evo 860 500gb ssd cache

    Realtec Network controller (2nd lan port)

    Wd red 4tb (Parity)

    WD red 4tb Array

    WD re4 1tb array

    WD green 2tb Array

     

    Machine runs ok but vm operates "Jerky" occasionally.  System needs a restart to rectify. Rest of machine seems ok. Suspect heat issue With GTX 1030 GPU.  Still investigating.

  14. Gigabyte Technology Co., Ltd. AX370-Gaming 5

    American Megatrends Inc. Version F25. Dated: 01/16/2019

    AMD Ryzen 7 2700 Eight-Core @ 3200 MHz

    32gb DDR4 Ram

    Gigabyte GTX 1030 2GB Low Profile (N0 Fans)

    (Rom Bios downloaded and modified as per Spaceinvader 1 tutorial on GPU passthrough with only 1  graphics card as primary)

    4 port USB card for passthrough to VM

    (USB card passed through to Windows VM using Virtmanager in a FreeBSD vm) 

    4tb WD Red Parity

    1 x 4tb WD Red Array

    6 x 2tb WD green Array

    2 x Samsung evo 860 500gb Cache

    Adaptec 1430SA sata controller

    Fractal Design Case

    Coolermaster 650w Modular power supply

     

    This machine upgrades my 10yo i3 unraid server which was primarily used as a file server.

    From the old machine I reused the adaptec sata card and a few 2tb hard disks. 

     

    During the build I had issues with GPU passthrough.  I had upgraded the BIOS to F31.  Turns out F30 and F31 make provision for the Ryzen 3 CPU and kills off Pass through.  I reloaded the original BIOS (F23) and it worked.  Settled on F25 which was the last one before the BIOS went to the F30 series.

     

    IOMMU configured as per Spaceinvader breaking up IOMMU groups option 3.

     

    The Fractal Design case will hold 8 x 3.5" drives.  I put a 2 drive hotswap bay in one of the 5 1/4 slots for the SSD's and a single 3.5" hotswap in the other 5 1/4 bay. Will use this to connect unassigned devices.

     

    The motherboard has 8 sata ports and I get another 4 ports from the adaptec card.   Adaptec card is old but it works.

     

  15. SSD prices are starting to compete with mechanical hard drives.

    I can see the demise of mechanicals in the not too distant future.

     

    Will unraid move to allow SSD drives for the array in future versions?

  16. On 2/4/2019 at 1:37 PM, ceyoung75 said:

    I have a question, i am trying to move a bunch of pictures *5 gig worth over to a new unraid nextcloud container. Is there a way to do this faster then drag and drop through nextcloud UI?  If so can you show me the docs or if its command line let me know how....Thanks

    One solution might be to load the client software on your computer. Paste the files into the local folder you specified for the client.  Let it sync in it's own time.  This will allow you to copy the files in a few minutes, then the client will do the rest.

  17. 5 hours ago, TUMS said:

    Not a big fan of all the orange either but I can deal with it.

    I’m running 4K and 1440p monitors so the larger fonts are great.

    Sounds like we need both with an option

    • Like 1
  18. I'll be sticking to 6.5.3 for as long as possible.  Sorry.  Don't like 6.6. 

    After upgrading, also had other issues with dockers and VM's.

     

    It was easier to back out rather than fault find.

     

    If it's not broken, why fix it. 

  19. On ‎10‎/‎21‎/‎2018 at 7:42 AM, Micaiah12 said:

    Yeah, I know where the data is however. My issue right now is that I was using the PassMan plugin and I have lost a good deal of passwords. Do you know of a way to restore that data? I was assuming it was in the database.

    From another thread:-

    GRBoomer

    2

    Mar '17

    I accidently deleted my nextcloud user and admin accounts from the database. I still have the same database. I recreated new admin and user and got nextcloud up and running and pointed back to my data. However, I cannot login into the Passman vault. I did save a copy of the original config.php file and the entire original directory. Moving salt values and origins over to the new config file prevents me from getting into nextcloud, and having the new values prevents me from getting into Passman.

    Is there a way for me to recover my vault? I do have the password correct too.

    Also, selecting recover password tends to only give the option to the admin (me) of deleting the vault. There is not password recovery unless the words mean something else.

    [SOLUTION]

    I copied the passwordsalt and secret into config.php (I had already done that)

    I think restarting the webserver (Apache) is the difference that made it work.

     

    Other than that, I've found that periodically backing up the calendar app from within the calendar also backs up tasks and others.  Not sure whether passman is included in this. This method as far as I know is the only way to recover the calendar.

     

     

×
×
  • Create New...