Needs manual log in each time program is launched
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 123
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I have searched for it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
The Nextcloud client is logged out each time the host/sometimes client program is rebooted/restarted.
### Steps to reproduce
1. Open up Nextcloud desktop
2. Log in
3. Client works as normal, until you restart the host computer and you have to log in again.
### Expected behavior
1. Open up Nextcloud desktop
2. Log in
3. Client works as normal, you never have to log in again
[nextcloud.log](https://github.com/user-attachments/files/29634803/nextcloud.log)
### Which files are affected by this bug
The nextcloud.log file above is from the "create debug" tool. When it says "redacted" that is where I redacted potentially sensitive information, not a program error.
### Operating system
macOS
### Which version of the operating system you are running.
macOS 26.5.1
### Installation method
Official Installer for macOS 13 and later
### Nextcloud Server version
34.0.0
### Nextcloud Desktop Client version
33.0.7
### Did this occur after an update or on a clean installation?
Minor version update (i.e. 33.0.0 → 33.0.1)
### Are you using the Nextcloud Server Encryption module?
No
### Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP or Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
```
### Additional info
I have the Nextcloud client set as a log-in item on macOS.
When it opens up on login, it is still logged out but doesn't prompt to log in immediately, and even if I do it manually it still doesn't actually log in, until I restart the program manually, log in again, and only then does the program start working normally.
Contributor guide
Research direction
Start with the attached nextcloud.log and reproduce the logout across a macOS reboot, including the client configured as a login item. Determine why the desktop client does not retain or restore the session; done means the client starts after reboot without requiring another login and continues syncing normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- authentication, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100