ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. nextcloud
    Log in to post
    • All categories
    • scottalanmillerS

      NextCloud Files Corrupting on Upload and Download in Browser

      IT Discussion
      • nextcloud nextcloud 18 • • scottalanmiller
      4
      0
      Votes
      4
      Posts
      322
      Views

      Emad RE

      @scottalanmiller

      I see , how is your PHP.ini

      max_execution_time = 300 max_input_time = 180 max_input_vars = 10000 memory_limit = 512M error_reporting = E_ALL post_max_size = 64M upload_max_filesize = 64M max_file_uploads = 40

      and PHP mode are you working on, mod_php or FPM.

    • gjacobseG

      NextCloud: Scan local files into db

      IT Discussion
      • nextcloud add files to db occ • • gjacobse
      7
      0
      Votes
      7
      Posts
      3.5k
      Views

      scottalanmillerS

      @black3dynamite said in NextCloud: Scan local files into db:

      Why haven’t Nextcloud change occ to ncc?

      Would break scripts and stuff. Now sure, links, but that gets messy. OCC doesn't cause a problem, keeping it is the right thing.

    • gjacobseG

      502 Bad Gateway; nginx/1.16.1

      IT Discussion
      • 502 bad gateway nginx nginx 1.16.1 nextcloud ubuntu 19.10 • • gjacobse
      17
      1
      Votes
      17
      Posts
      3.4k
      Views

      M

      You have the answer in the logs you posted. Nginx can't connect to php handler daemon on port 9000, most likely php-fpm.

    • JaredBuschJ

      Full text search plugin not working in Nextcloud

      IT Discussion
      • nextcloud nextcloud 17 full text search elasticsearch apps • • JaredBusch
      5
      0
      Votes
      5
      Posts
      726
      Views

      stacksofplatesS

      That will return from the default index. To specify an index add it in the URL:

      curl 192.168.1.100:9200/index/_search?pretty'

    • scottalanmillerS

      NextCloud Client Issues

      IT Discussion
      • nextcloud nextcloud client nextcloud 17 • • scottalanmiller
      23
      0
      Votes
      23
      Posts
      1.6k
      Views

      black3dynamiteB

      @JaredBusch said in NextCloud Client Issues:

      Looks like they found the issue.
      https://github.com/nextcloud/desktop/issues/1292

      Fedora workaround until it is released: sudo dnf install libgnome-keyring

      I thought that issue was specific to Fedora GNOME. Ever since I started using the nextcloud app I've been including that package as part of my post install setup.

    • JaredBuschJ

      Solved Unable to get redis cache running on debian 10 based Nextcloud instance

      IT Discussion
      • nextcloud 17 debian 10 nextcloud debian redis memcache • • JaredBusch
      21
      0
      Votes
      21
      Posts
      1.9k
      Views

      jospoortvlietJ

      Congrats 🐶

    • JaredBuschJ

      Remove-Item cannot remove crap in Documents folder

      IT Discussion
      • windows 10 powershell nextcloud folder redirect • • JaredBusch
      15
      0
      Votes
      15
      Posts
      1.5k
      Views

      ObsolesceO

      @Dashrender said in Remove-Item cannot remove crap in Documents folder:

      @Obsolesce said in Remove-Item cannot remove crap in Documents folder:

      @Dashrender said in Remove-Item cannot remove crap in Documents folder:

      @Obsolesce said in Remove-Item cannot remove crap in Documents folder:

      @JaredBusch
      I had a little bit of fun... whether useful to you or not.

      You can run this script as a regular user that has permissions to create and run scheduled tasks and create a file in specified directory.

      This will create a powershell script, and a scheduled tasks to run the script as the SYSTEM account. Then it will delete the script and the scheduled task.

      I could test most of it, but not some of it for obvious reasons.

      <#---- CHANGE THESE VARS: ----#> # Users to exclude from profile manipulation script, separated by pipe: $excludedKnownUsers = "Administrator|SpecialUser1" # New Script: $newLocalScriptPath = "$ENV:SystemDrive\scripts" $newLocalScriptFile = "testScript.ps1" # SID ending: (likely 21 if domain users) $sidEnd = 21 # Scheduled Task Name: $TaskName = "_Test Task 1" # Scheduled Task Description: $Description = "This is a test scheduled task that runs as the SYSTEM account and will be ran and then deleted at the end of this script." <#-------- END CHANGE --------#> # New Script: $newLocalScript = "$newLocalScriptPath\$newLocalScriptFile" # Gethers list of user profile paths: $userPaths = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\*" -ErrorAction SilentlyContinue | Where-Object {($_.PSChildName -split '-')[3] -eq $sidEnd -and ($_.ProfileImagePath -split "\\")[2] -notmatch $excludedKnownUsers} # Creates a 'script in memory': $testScript = $null foreach ($userPath in $userPaths.ProfileImagePath) { $testScript += "Remove-Item -Path "$userPath\Documents" -Force -Recurse`n" $testScript += "New-Item -ItemType Junction -Path $userPath -Name 'Documents' -Target '$userPath\Nextcloud\Documents' -Force`n" } # Create a PowerShell script and save it as specified in vars: if (-not(Test-Path $newLocalScript)) {New-Item -Force $newLocalScript} $testScript | Out-File $newLocalScript -NoNewline -Force # Task Action: $Action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-ExecutionPolicy Bypass -File $newLocalScript" # Task Trigger: (task will be manually run immediately and then deleted, so keep 1 year out) $Trigger = New-ScheduledTaskTrigger -Once -At (Get-Date).AddYears(1) # Task Compatibility: $Compatibility = "Win8" # 'Win8' is 'Windows 10' in the GUI # Task Settings: $Settings = New-ScheduledTaskSettingsSet -Compatibility $Compatibility -StartWhenAvailable -AllowStartIfOnBatteries # Run task as local SYSTEM account with highest privileges: $Principal = New-ScheduledTaskPrincipal -UserId 'S-1-5-18' -RunLevel Highest # Create the scheduled task: Register-ScheduledTask -TaskName $TaskName -Description $Description -Action $Action -Trigger $Trigger -Settings $Settings -Principal $Principal -Force <#--------------------------#> # Run the scheduled task: Get-ScheduledTask -TaskName $TaskName | Start-ScheduledTask # Remove the created script: Remove-Item $newLocalScript -Force # Delete the scheduled task: Get-ScheduledTask -TaskName $TaskName | Unregister-ScheduledTask -Confirm:$false

      This seems like a HUGE security problem - normal users can schedule a task to run as SYSTEM? Then any virus could do the same thing. So what am I missing?

      I assume regular user would need elevated privileges at least... But I didn't test as a non-local admin, which is different than elevated privileges. But either way, that script can be automated and run as a user in the local admin group too with successful results.

      I think your script affects every user on the machine - assuming that's Ok for the envivronment - yep, have the local admin run it - and done.

      Yeah I designed it like that on purpose, because if users are using the device, whether it's one or 10 (unlikely), IMO they should all be redirected. But that can be changed no problem. But at least if it's one main person using it, it'll hit that one. If others do, they can be excluded. But you can always get the current signed on user and use that as in JB's original script, or in an automated way using other means I could add in if needed.

    • JaredBuschJ

      Unsolved Looking for a 10 inch or so android tablet

      IT Discussion
      • tablet android nextcloud • • JaredBusch
      11
      0
      Votes
      11
      Posts
      964
      Views

      JaredBuschJ

      @Dashrender said in Looking for a 10 inch or so android tablet:

      @JaredBusch said in Looking for a 10 inch or so android tablet:

      @Dashrender said in Looking for a 10 inch or so android tablet:

      $250 seems pretty cheap for such a use... you expect what - 5 years out of it, so $50/year... seems reasonable.

      It is. But taking 5 minutes to post a discussion was well worth it. I’ll buy an Acer also and see how it works comparatively.

      Actually, depending on the possible cost savings, maybe not. If you buy two and compare them, that billable time could eat much of that savings. - Could, no idea if it will or not. Though I'll agree the post just for info sake was likely worthwhile.

      $250 vs $150 is significant. I'm not talking single quantity.

    • scottalanmillerS

      Solved NextCloud Talk 6 Add More Participants

      IT Discussion
      • nextcloud nextcloud 16 nextcloud talk nextcloud talk 6 • • scottalanmiller
      2
      1
      Votes
      2
      Posts
      834
      Views

      scottalanmillerS

      Okay, we got it figured out. Works well, but is not intuitive.

      You go to "New Conversation" and then you have to just make a new for a new conversation. Only then can you add people to it. Totally works, just.... why would you ever think to do that?

    • wirestyle22W

      Logging out of Nextcloud in Chrome is very slow

      IT Discussion
      • nextcloud • • wirestyle22
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      wirestyle22W

      @brandon220 said in Logging out of Nextcloud in Chrome is very slow:

      Another browser-based issue I've seen is in Edge. If you click the Files button in the top left, it just spins. Tried on multiple machines and multiple NC 16 installs. Works fine in FF and Chrome. Swapping browsers for different applications is a pain.

      Interesting. Same happens for me.

    • wirestyle22W

      Customize Colors Manually for Nextcloud Theming

      IT Discussion
      • nextcloud password reset • • wirestyle22
      3
      0
      Votes
      3
      Posts
      382
      Views

      wirestyle22W

      rothmannc.png

    • scottalanmillerS

      NextCloud 16 and NC Talk 6.0.0 Can't Make Group Chat

      IT Discussion
      • nextcloud nextcloud 16 nextcloud talk nextcloud talk 6 • • scottalanmiller
      1
      0
      Votes
      1
      Posts
      261
      Views

      No one has replied

    • scottalanmillerS

      Joplin, an Open Source Note Application with NextCloud Sync

      IT Discussion
      • joplin open source software nextcloud note software • • scottalanmiller
      45
      3
      Votes
      45
      Posts
      3.7k
      Views

      F

      Dragging and dropping todos between notebooks - I really like that

    • wirestyle22W

      Mitigating Nextcloud Two Factor Authentication Error

      IT Discussion
      • nextcloud 15 centos 7 nextcloud • • wirestyle22
      2
      4
      Votes
      2
      Posts
      456
      Views

      JaredBuschJ

      @wirestyle22 said in Mitigating Nextcloud Two Factor Authentication Error:

      I upgraded Nextcloud and for some reason two-factor authentication activated on my admin account. Since I couldn't access my admin account I needed to find a way via cli to disable two factor authentication, but because it wasn't configured there was no folder in /var/www/html/nextcloud/apps for me to rename, etc. Below is the command I found that worked for me.

      sudo -u apache php occ config:system:set twofactor_enforced --value=false

      Note: You have to run the command as apache, or if you're using Debian www-data.

      You also need to be in the right folder

      By default on Fedora

      cd /var/www/html/nextcloud

      Or

      sudo -u apache php /var/www/html/nextcloud/occ config:system:set twofactor_enforced --value=false
    • JaredBuschJ

      Upgrading Nextcloud via CLI

      IT Discussion
      • nextcloud upgrade cli fedora nextcloud upgrade • • JaredBusch
      10
      5
      Votes
      10
      Posts
      4.0k
      Views

      JaredBuschJ

      @bnrstnr said in Upgrading Nextcloud via CLI:

      @JaredBusch said in Upgrading Nextcloud via CLI:

      If you change the entire folder to HTTPD_RW it will work without disabling things.

      Ah yeah, probably this. SELinux is a complete mystery to me :man_shrugging:

      ls -lashZ /var/www/html Will show you the context on your Nextcloud folder. Technically, just the Z is for the context

    • S

      Nextcloud Conflicts When Saving a File (Single User Scenario)

      IT Discussion
      • nnot se nextcloud nextcloud 13 • • SemperOSS
      19
      2
      Votes
      19
      Posts
      2.0k
      Views

      JaredBuschJ

      This is the sysem that I use for work.
      f1ef56be-6669-4c8d-9005-745e991c9894-image.png

      We only have 6 active users. All use the Sync Client.

      We never have any issues with conflict files.

    • brandon220B

      NextCloud 15 Installation

      IT Discussion
      • nextcloud nextcloud 15 linux • • brandon220
      5
      1
      Votes
      5
      Posts
      500
      Views

      DonahueD

      I just did it. The guide still applies, apart from getting 15 and not 13.

    • EddieJenningsE

      Nextcloud Backup System Idea

      IT Discussion
      • backup and disaster recovery backup nextcloud storage • • EddieJennings
      41
      1
      Votes
      41
      Posts
      2.5k
      Views

      EddieJenningsE

      @DustinB3403 said in Nextcloud Backup System Idea:

      Practicing process also requires that you practice developing process and having holes punched into said idea.

      Yep. And you've validated some holes I've considered, but didn't explicitly write in my posts.

    • scottalanmillerS

      NextCloud Talk - Voice, Video, and ScreenSharing

      IT Discussion
      • nextcloud nextcloud talk screen sharing • • scottalanmiller
      16
      3
      Votes
      16
      Posts
      1.8k
      Views

      scottalanmillerS

      @manxam said in NextCloud Talk - Voice, Video, and ScreenSharing:

      Krita is pretty decent too and also cross platform

      It is, quite nice.

    • scottalanmillerS

      NextCloud Talk 5.0.0 Update Error

      IT Discussion
      • nextcloud nextcloud 15 nextcloud talk nextcloud talk 5 • • scottalanmiller
      5
      0
      Votes
      5
      Posts
      589
      Views

      scottalanmillerS

      @travisdh1 said in NextCloud Talk 5.0.0 Update Error:

      I've seen the updater do that sort of thing before with NextCloud updates. The system always puts itself into maintenance mode to actually do the update, so if there is a hitch in it's update, you have to go change it back to normal mode.

      I generally complete the update using the command line process if I run into an issue with the web page method.

      This was only an app update, though. I've seen it with NC updates.

    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 2 / 7