Joc

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Joc

  1. Excuse my nooobness to unRAID, I do more searching than posting FireFox Sync Server with MariaDB I assume is OK to use. I don't see a password field in docker settings. Seems it is only for SQLlite. Or do I build MariaDB and not use a password for the FireFox database? Thanks.
  2. "Sounds like" Swag conf file might need modifying. The logs and conf files with personal stuff blocked out would be great 🙂 Look at Spaceinvader One's YT vids on this:
  3. Future note to self 🙂 and hopefully others can learn or fix any similar NextCloud upgrade issue/s I had. LinuxServer do a great job – thankyou! Though this is a NC issue or my missing something, or doing something incorrectly during upgrade, or just one of those things that happens. I’ve never had so many problems upgrading a NC version, logs weren’t giving me much help. I was getting corrupt database errors, upgrades (following all 3 install types on p-1 of this thread) wouldn’t take, etc. I’d install previous backups using the CA Backup/Restore app and work forward from there. Even after reinstalling older NC and MariaDB versions from backups, NC was telling me it’s already on 20.0.4, though it was on 19.0.3 and just wouldn’t let me upgrade whatsoever. I inspected or purged the the NC updater folders, etc. NC just wouldn’t budge and kept giving me I’m already updated and occ command errors. In the end, I kept all config files, backed up my NC files/folders, completely purged MariaDB and NC, then reinstalled them from scratch, made new databases, etc. After a fresh install, I then upgraded to 20.0.4, then I ran the below OCC commands, then I manually added files/folders and everything works great now without any errors 🙂 # in a NC docker terminal window:- sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices sudo -u abc php /config/www/nextcloud/occ db:add-missing-primary-keys sudo -u abc php /config/www/nextcloud/occ db:convert-filecache-bigint # ADD files/folders for my NextCloud UserName to the MariaDB database:- # # IF in NC docker terminal/console window: sudo -u abc php /config/www/nextcloud/occ files:scan UserName <-- Change UserName to username used in NextCloud # # IF in an unRAID terminal window:- docker exec -it nextcloud sudo -u abc /config/www/nextcloud/occ files:scan UN <-- UN = username used in NextCloud ** or:- sudo -u abc php /config/www/nextcloud/occ files:scan all to detect all new and changed files and folders. # # Or setup as a User Script to automate file:scan to run periodically/daily/weekly, etc:- #!/bin/bash echo "<font color='red'><b>Adding unrecognised files to NextCloud user database</b></font>" docker exec -it nextcloud sudo -u abc /config/www/nextcloud/occ files:scan UN <-- UN = associated username in NextCloud echo "" echo "<font color='red'>Done!!</b></font>" Though the safest way is to upload files/folders through webdav. I personally use ‘ocsmount Pro’ webdav on Mac to do this and not use the NextCloud app at all. # May also add this line in NC config.php - Just in case you forget to run 'file:scan' function. this makes files immediately visible when added from outside a NC environment; Eg; Using samba share in Finder or Windows Explorer to connect directly to NextCloud files. # # Add following line towards the end of NC config.php. 'filesystem_check_changes' => 1, Then Docker restart nextcloud Then I ran a fresh instance appdata backup I hope this helps someone 🙂
  4. Hi, THANKS. I did try that but was getting some sort of "missing' error. Can't recall exactly. Will examine it after Chrissy. THANKYOU again and have a wonderful Christmas 🙂
  5. Hi, Try adding 'filesystem_check_changes' => 1, to config.php, then restart. It makes NC aware of added files outside of the database. Merry Christmas.
  6. EDITED BIT: I ended up restoring from [Plugin] CA Appdata Backup / Restore .... Mess around with v20.0.4 after Christmas. Hi, This is doing my head in... What have I done??... And how do I fix?? 😕 Fix is prolly sooo easy, I just can't see it ATM. I upgraded to 20.0.4 from settings/overview page. Security & setup warnings. There are some warnings regarding your setup. The database is missing some primary keys. Due to the fact that adding primary keys on big tables could take some time they were not added automatically. By running "occ db:add-missing-primary-keys" those missing primary keys could be added manually while the instance keeps running. Missing primary key on table "oc_federated_reshares". Missing primary key on table "oc_systemtag_object_mapping". Missing primary key on table "oc_comments_read_markers". Missing primary key on table "oc_collres_resources". Missing primary key on table "oc_collres_accesscache". Missing primary key on table "oc_filecache_extended".
  7. THANKS!! I couldn't get anywhere with PIA Third Generation ... Thought I needed to update to NextGen. DE Berlin is working a treat. Decent speeds too, around 10mb/s 🙂 I hadn't tried DE Berlin server before searching on here & posting, previously it was terrible for me. I was getting best speeds from Canada. Thanks again!!
  8. I couldn't get any 'port forwarding' server working here in AU with latest PIA openvpn-nextgen files. I went with wgstarks suggestion for now until fixed.
  9. Joc

    Share Your Banners

    GREAT banner. Put it on my NextCloud ... Sadly, it is quite rather suitable now . THANKYOU 🙂
  10. Joc

    Share Your Banners

    Hey THANKYOU for the banners. I'm using the top one and it looks great!! Well done. Cheers.
  11. It's a Catalina issue. I've written emails to Apple support. Frustrating I have to reboot everytime to connect to my files. TM stopped working, had to sub to Acronis which uses built-in SMB and works everytime. I did install ocsmount Pro with nextcloud server installed - That seems to get me around working files. Hope Apple fixes it!!