Viestit paikassa Nextcloud

I tested the appimage and the issue still reproduces.

10. syyskuuta 2022 klo 19.58
Sijainti: Vianhallintajärjestelmät: Github

Hi @claucambra, I tested the appimage and the issue still reproduces.

Vastaa viestiin sen kontekstissa (Github)

Using a path with umlauts as logDir is broken

4. syyskuuta 2022 klo 14.52
Sijainti: Vianhallintajärjestelmät: Github

Bug description

Using a path with umlauts as logDir causes an incorrectly encoded directory to be created and used as log directory, instead of the specified directory.

Steps to reproduce

  1. Quit the client.
  2. Edit nextcloud.cfg. Set logDir=/home/jani/Tänne (applying appropriately to your home directory)
  3. Start the client.
  4. ls /home/jani/Tänne

Expected behavior

A listing of new log files residing in /home/jani/Tänne.

Which files are affected by this bug

This question is unclear. The log files are the ones affected.

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 20.04

Package

Distro package manager

Nextcloud Server version

24.0.4

Nextcloud Desktop Client version

3.5.4-20220806.084713.fea986309-1.0~focal1

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  •  Default internal user-backend
  •  LDAP/ Active Directory
  •  SSO – SAML
  •  Other

Nextcloud Server logs

No response

Additional info

This bizarre and otherwise exhaustingly long issue form is lacking a ”What happens instead of my expected outcome” question, so I’m entering it here instead: there are no logs in the specified target directory (it doesn’t even exist if you’ve not created it beforehand). Instead, like in the ye olden days, there is now a directory called Tänne containing the logs. In nextcloud.cfg the path has been re-encoded as logDir=/home/jani/T\xc3\xa4nne/ which is apparently how it should be, since a similarly re-encoded value for a ...localPath with umlauts in the [accounts] section has been working just fine for as long as I can remember using it.

Vastaa viestiin sen kontekstissa (Github)

check_data_directory_permissions allows the admin to turn off the automatic permissions reset

10. tammikuuta 2019 klo 13.48
Sijainti: Keskustelupalstat: Nextcloud
Avainsanat: turvallisuus

Sorry for necromancing, but because Google seems to like this thread, I just thought I’d add a mention that a check_data_directory_permissions option for config.php has since been implemented (and backported down to NC12), and it allows the admin to turn off the automatic permissions reset (by assigning it false).

This is discouraged however, and ACLs or other means of managing access are still the better option where available.

Vastaa viestiin sen kontekstissa (Nextcloud)

Looks like it waits a fixed 30 minutes before letting you run it again

30. maaliskuuta 2017 klo 20.58
Sijainti: Keskustelupalstat: Nextcloud
Avainsanat: SQL

Looks like it waits a fixed 30 minutes before letting you run it again. You can either wait it out (as you probably have by now) or, if you’re impatient (like me) and really sure it’s not running already, `SELECT * FROM ’oc_appconfig’ WHERE ’configkey’ LIKE ’lastActivity’` and delete that timestamp.

Vastaa viestiin sen kontekstissa (Nextcloud)

Just to clarify

13. joulukuuta 2016 klo 16.42
Sijainti: Keskustelupalstat: Nextcloud

You can edit out your password salt and secret.

Just to clarify, in case someone else is about to make the stupid mistake I almost made: I’m pretty sure @JasonBayton meant @vCentre should edit their message (above) which contains the salt and secret, not that they should edit those out of their live config.php on the server, as that would cause the loss of all existing passwords.

Vastaa viestiin sen kontekstissa (Nextcloud)

This was all due to my having botched the migration

21. heinäkuuta 2016 klo 17.27
Sijainti: Keskustelupalstat: Nextcloud
Avainsanat: ownCloud

So I did some more digging and turns out this was all due to my having botched the migration. I had used the experimental upgrader script, which kept failing due to timeouts, so I went ahead and tried to finish it up manually. With everything else apart from the Android app working as expected, I was fooled into thinking I had nailed it. But with this issue persisting, I just had to check, and wouldn’t you know, there were still all these files lingering from the previous Owncloud installation that I hadn’t replaced.

Tl;dr; re-downloaded 9.0.52, replaced the existing installation with the files extracted from the download, and the Android app now also connects without issue.

@HucSte, I’m not sure your issue is related, but if you also migrated from Owncloud, you could try re-installing Nextcloud files afresh.

Vastaa viestiin sen kontekstissa (Nextcloud)

No worries, thanks for taking a look at this!

20. heinäkuuta 2016 klo 21.42
Sijainti: Keskustelupalstat: Nextcloud

No worries, thanks for taking a look at this @tobiasKaminsky!

Vastaa viestiin sen kontekstissa (Nextcloud)

My installation is served over https too

20. heinäkuuta 2016 klo 20.36
Sijainti: Keskustelupalstat: Nextcloud
Avainsanat: Apache

Forgot to mention that my installation is served over https too, on Apache. But for me there are no SSL errors to be seen either.

Vastaa viestiin sen kontekstissa (Nextcloud)

Can’t connect Nextcloud Android app with the server

20. heinäkuuta 2016 klo 19.20
Sijainti: Keskustelupalstat: Nextcloud
Avainsanat: Android, F-Droid, Nexus, Samsung

I just migrated from Owncloud 8.2 to Nextcloud 9.0.52. Everything else (i.e. the web interface, desktop client) seems to work just fine, but I can’t get the Nextcloud Android app to connect with the server. I can enter the URL (no errors), my login and password, but the ”Connect” button feels totally unresponsive, it does nothing at all no matter how much I tap it. No error messages are given by the app nor is there anything correlating with the attempts in server logs.

This happens on both my phone (Nexus 5X, Android M) and tablet (Samsung Tab 4, Android L). I also tried the Beta app from F-Droid and the issue is present there too. It’s also present in both my WLAN and when using a direct 3G connection on the phone (so I don’t think the WLAN router’s firewall is the cause either).

The Owncloud app on the same devices still works with the server, although I haven’t tried logging out and re-connecting it.

The server is on shared hosting where I have shell access.

Any suggestions?

Vastaa viestiin sen kontekstissa (Nextcloud)