# Photoview 502 Bad Gateway: photoview.service and user@1007.service failed

**URL:** https://forum.yunohost.org/t/photoview-502-bad-gateway-photoview-service-and-user-1007-service-failed/23027
**Category:** Support
**Tags:** service, french, english
**Created:** [January 9, 2023, 11:26pm UTC](https://forum.yunohost.org/t/photoview-502-bad-gateway-photoview-service-and-user-1007-service-failed/23027 "2023-01-09T23:26:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![peer](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/e9bcb4/32.png) [@peer](https://forum.yunohost.org/u/peer)
#### Post date: [January 9, 2023, 11:26pm UTC](https://forum.yunohost.org/t/photoview-502-bad-gateway-photoview-service-and-user-1007-service-failed/23027/1 "2023-01-09T23:26:17Z")

</div>

### My YunoHost server

**Hardware:** Old laptop or computer/ …  
**YunoHost version:**  
yunohost:  
repo: stable  
version: 11.0.10.2  
yunohost-admin:  
repo: stable  
version: 11.0.11  
moulinette:  
repo: stable  
version: 11.0.9  
ssowat:  
repo: stable  
version: 11.0.9

**I have access to my server :** Through SSH | through the webadmin | direct access via keyboard / screen | …  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : I don’t think so.

### Description of my issue

Hi!

Yesterday I saw my photoview website gave me a 502 Bad Gateway. So I checked the server and I saw the **photoview.service** was down, I could not bring it up. I think I upgraded everything.

I did a reboot but that did not help. Today I find the **photoview.service** keeps saying “failed” but now there is a also second service reading failed: **user@1007.service**

I also found these logs on photoview:

```auto
Started Photoview photo manager API.
photoview.service: Main process exited, code=exited, status=127/n/a
photoview.service: Failed with result 'exit-code'.

```

And these ones on user@1007.service:

```auto
Starting User Manager for UID 1007...
pam_unix(systemd-user:session): session opened for user admin(uid=1007) by (uid=0)
Failed to determine supported controllers: No such process
Failed to allocate manager object: No such process
user@1007.service: Main process exited, code=exited, status=1/FAILURE
user@1007.service: Failed with result 'exit-code'.
Failed to start User Manager for UID 1007.

What should i do?

Thanks!
```

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [February 8, 2023, 11:27pm UTC](https://forum.yunohost.org/t/photoview-502-bad-gateway-photoview-service-and-user-1007-service-failed/23027/2 "2023-02-08T23:27:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
