# Memcache / Transactional

**URL:** <https://help.nextcloud.com/t/memcache-transactional/199987>\
**Category:** 🇩🇪 Deutsch (german)\
**Tags:** redis\
**Created:** [August 2, 2024, 4:13pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987 "2024-08-02T16:13:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 4:13pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/1 "2024-08-02T16:13:42Z")

</div>

Paar Dinge die ich noch erledigen wollte mit Memcache und co.  
Ich habe jetzt nach Anleitung die Config mit diesen Daten gefüllt

```auto
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.distributed' => '\OC\Memcache\Redis',
'redis' => [
     'host' => '/run/redis/redis-server.sock',
     'port' => 0,
     'dbindex' => 0,
     'password' => 'dinge',
     'timeout' => 1.5,
]

```

in der redis.conf steht dann folgendes

> port 0  
> unixsocket /var/run/redis/redis-server.sock  
> unixsocketperm 770

redis server neu gestartet.  
geschaut ob es funktioniert … und dann das hier erhalten

```auto
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

```

Evtl. hat da auch jemand einen tipp  
Bin hier nach der [Anleitung](https://docs.nextcloud.com/server/29/admin_manual/configuration_files/files_locking_transactional.html) gegangen

---

<div class="post-metadata">

**Author:** ![rakekniven](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rakekniven/32/67096_2.png) [@rakekniven](https://help.nextcloud.com/u/rakekniven)\
**Post date:** [August 2, 2024, 4:17pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/2 "2024-08-02T16:17:00Z")

</div>

Hallo,

Deine Anfrage beinhaltet zu wenig Informationen.  
Es sind Angaben wie Nextcloud-Version, Webserver-Typ, PHP-Version, Log-Einträge nötig.  
Screenshots sind auch immer hilfreich.

Ohne zusätzliche Informationen können die Community-Mitglieder Dir nicht helfen.

Gruß,  
rakekniven

bw.  
In das Log von Nextcloud schauen

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [August 2, 2024, 4:37pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/3 "2024-08-02T16:37:36Z")

</div>

> [@rakekniven](#):
>
> In das Log von Nextcloud schauen

Das wäre sehr ratsam. Davon ab würde ich noch ein `/var/` empfehlen 😉 (der Pfad stimmt nicht überein…)

---

<div class="post-metadata">

**Author:** ![Gatak](https://help.nextcloud.com/letter_avatar/gatak/32/6_22734026db12803ebb3e059622ac3534.png) [@Gatak](https://help.nextcloud.com/u/Gatak)\
**Post date:** [August 2, 2024, 4:54pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/4 "2024-08-02T16:54:18Z")

</div>

What are the folder permissions for `/var/run/redis/`, can the nextcloud/php user enter that directory?

Translated:  
Wie sind die Ordnerberechtigungen für `/var/run/redis/`, kann der nextcloud/php-Benutzer in dieses Verzeichnis gelangen?

---

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 5:09pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/5 "2024-08-02T17:09:47Z")

</div>

Hey, hm ich dachte ich hätte /var/ dort drin? … das NextCloud log ist wo? weil unter /var/log finde ich es nicht

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [August 2, 2024, 5:11pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/6 "2024-08-02T17:11:03Z")

</div>

> [@tuvok](#):
>
> `host' => '/run/redis/redis-server.sock',`

> [@tuvok](#):
>
> unixsocket /var/run/redis/redis-server.sock

Das ist nicht identisch

---

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 5:11pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/7 "2024-08-02T17:11:13Z")

</div>

Sorry,

php:  
Installed: 2:8.3+94+ubuntu22.04.1+deb.sury.org+2

apache2:  
Installed: 2.4.52-1ubuntu4.12

NextCloud ist die aktuellste

---

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 5:12pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/8 "2024-08-02T17:12:58Z")

</div>

OH du hast recht … jetzt wo du es sagst… hab es gleich mal angepasst… hat aber noch nix gebracht

---

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 5:15pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/9 "2024-08-02T17:15:04Z")

</div>

hier noch ein auszug aus dem Apache2 Log

[Fri Aug 02 18:08:24.995770 2024] [php:error] [pid 800878] [client 87.140.14.45:64070] PHP Fatal error: Uncaught OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in /var/www/html/nextcloud/lib/private/Memcache/Factory.php on line 92

[Fri Aug 02 18:08:50.794911 2024] [php:error] [pid 800877] [client 87.140.14.45:64089] PHP Fatal error: Uncaught OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in /var/www/html/nextcloud/lib/private/Memcache/Factory.php on line 92

[Fri Aug 02 18:08:50.794911 2024] [php:error] [pid 800902] [client 87.140.14.45:64088] PHP Fatal error: Uncaught OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in /var/www/html/nextcloud/lib/private/Memcache/Factory.php on line 92

---

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 5:22pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/10 "2024-08-02T17:22:33Z")

</div>

Leider weiss ich nicht wie ich das anstelle um es herauszufinden

---

<div class="post-metadata">

**Author:** ![rakekniven](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rakekniven/32/67096_2.png) [@rakekniven](https://help.nextcloud.com/u/rakekniven)\
**Post date:** [August 2, 2024, 5:26pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/11 "2024-08-02T17:26:58Z")

</div>

> [@tuvok](#):
>
> Is the matching PHP module installed and enabled?

Hast Du das geprüft? Bitte mal etwas selbst recherchieren.

> [@tuvok](#):
>
> php:  
> Installed: 2:8.3

Du meinst 8.3, oder?

> [@tuvok](#):
>
> NextCloud ist die aktuellste

Ich frage Dich mal in 6 Monaten welche Version das war 😉  
Nicht doof gemeint, aber es ist immer besser die Versionsnummer hinzuschreiben.

Gruß

---

<div class="post-metadata">

**Author:** ![tuvok](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tuvok/32/63511_2.png) [@tuvok](https://help.nextcloud.com/u/tuvok)\
**Post date:** [August 2, 2024, 6:26pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/12 "2024-08-02T18:26:37Z")

</div>

Ich habe es hinbekommen… anstatt die Klammern zu nutzen habe ich runde klammern genutzt…

```auto
  'memcache.local' => '\OC\Memcache\APCu',
  'memcache.locking' => '\OC\Memcache\Redis',
  'filelocking.enabled' => 'true',
  'redis' =>
    array (
     'host' => '/var/run/redis/redis-server.sock',
     'port' => 0,
     'timeout' => 0.0,
  ),

```

so sieht das ganze jetzt bei mir aus 🙂  
Dankeschön für die Anregungen

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [August 3, 2024, 12:57pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/13 "2024-08-03T12:57:03Z")

</div>

> [@tuvok](#):
>
> anstatt die Klammern zu nutzen habe ich runde klammern genutzt…

Alda! Und das bei einem System, das sogar meckert, wenn du Groß- und Kleinschreibung nicht beachtest…

Tipp… wo auch immer du dein Setup her hast, benutz am besten die Copy&Paste-Funktion… die Chance, dass du etwas übersiehst oder dich einfach vertippst, ist um einiges größer wenn du alles selbst eintippst.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [June 7, 2025, 5:12pm UTC](https://help.nextcloud.com/t/memcache-transactional/199987/14 "2025-06-07T17:12:04Z")

</div>


