Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.14 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2406
  +user: Proxies\__CG__\App\Entity\User {#1897 …}
  +magazine: App\Entity\Magazine {#266
    +icon: null
    +name: "lemmy_support@lemmy.ml"
    +title: "lemmy_support"
    +description: """
      Support / questions about Lemmy.\n
      \n
      [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 130
    +entryCommentCount: 600
    +postCount: 2
    +postCommentCount: 14
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1728910137 {#276
      date: 2024-10-14 14:48:57.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#254 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
    +entries: Doctrine\ORM\PersistentCollection {#197 …}
    +posts: Doctrine\ORM\PersistentCollection {#155 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
    +bans: Doctrine\ORM\PersistentCollection {#134 …}
    +reports: Doctrine\ORM\PersistentCollection {#120 …}
    +badges: Doctrine\ORM\PersistentCollection {#98 …}
    +logs: Doctrine\ORM\PersistentCollection {#88 …}
    +awards: Doctrine\ORM\PersistentCollection {#77 …}
    +categories: Doctrine\ORM\PersistentCollection {#64 …}
    -id: 40
    +apId: "lemmy_support@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/lemmy_support"
    +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
    +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "lemmy_support"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729581033 {#270
      date: 2024-10-22 09:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696687715 {#272
      date: 2023-10-07 16:08:35.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
  +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
  +title: "Adding custom PostgreSQL config later to docker"
  +url: null
  +body: """
    I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
    \n
    Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
    \n
    > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
    \n
    So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
    \n
    As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 2
  +favouriteCount: 1
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1700072096 {#1799
    date: 2023-11-15 19:14:56.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1914 …}
  +votes: Doctrine\ORM\PersistentCollection {#1395 …}
  +reports: Doctrine\ORM\PersistentCollection {#2480 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
  +badges: Doctrine\ORM\PersistentCollection {#1891 …}
  +children: []
  -id: 13264
  -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
  -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1700072960
  +visibility: "visible             "
  +apId: "https://swg-empire.de/post/267521"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700059960 {#59
    date: 2023-11-15 15:52:40.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2406
  +user: Proxies\__CG__\App\Entity\User {#1897 …}
  +magazine: App\Entity\Magazine {#266
    +icon: null
    +name: "lemmy_support@lemmy.ml"
    +title: "lemmy_support"
    +description: """
      Support / questions about Lemmy.\n
      \n
      [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 130
    +entryCommentCount: 600
    +postCount: 2
    +postCommentCount: 14
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1728910137 {#276
      date: 2024-10-14 14:48:57.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#254 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
    +entries: Doctrine\ORM\PersistentCollection {#197 …}
    +posts: Doctrine\ORM\PersistentCollection {#155 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
    +bans: Doctrine\ORM\PersistentCollection {#134 …}
    +reports: Doctrine\ORM\PersistentCollection {#120 …}
    +badges: Doctrine\ORM\PersistentCollection {#98 …}
    +logs: Doctrine\ORM\PersistentCollection {#88 …}
    +awards: Doctrine\ORM\PersistentCollection {#77 …}
    +categories: Doctrine\ORM\PersistentCollection {#64 …}
    -id: 40
    +apId: "lemmy_support@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/lemmy_support"
    +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
    +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "lemmy_support"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729581033 {#270
      date: 2024-10-22 09:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696687715 {#272
      date: 2023-10-07 16:08:35.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
  +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
  +title: "Adding custom PostgreSQL config later to docker"
  +url: null
  +body: """
    I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
    \n
    Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
    \n
    > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
    \n
    So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
    \n
    As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 2
  +favouriteCount: 1
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1700072096 {#1799
    date: 2023-11-15 19:14:56.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1914 …}
  +votes: Doctrine\ORM\PersistentCollection {#1395 …}
  +reports: Doctrine\ORM\PersistentCollection {#2480 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
  +badges: Doctrine\ORM\PersistentCollection {#1891 …}
  +children: []
  -id: 13264
  -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
  -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1700072960
  +visibility: "visible             "
  +apId: "https://swg-empire.de/post/267521"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700059960 {#59
    date: 2023-11-15 15:52:40.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2406
  +user: Proxies\__CG__\App\Entity\User {#1897 …}
  +magazine: App\Entity\Magazine {#266
    +icon: null
    +name: "lemmy_support@lemmy.ml"
    +title: "lemmy_support"
    +description: """
      Support / questions about Lemmy.\n
      \n
      [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 130
    +entryCommentCount: 600
    +postCount: 2
    +postCommentCount: 14
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1728910137 {#276
      date: 2024-10-14 14:48:57.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#254 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
    +entries: Doctrine\ORM\PersistentCollection {#197 …}
    +posts: Doctrine\ORM\PersistentCollection {#155 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
    +bans: Doctrine\ORM\PersistentCollection {#134 …}
    +reports: Doctrine\ORM\PersistentCollection {#120 …}
    +badges: Doctrine\ORM\PersistentCollection {#98 …}
    +logs: Doctrine\ORM\PersistentCollection {#88 …}
    +awards: Doctrine\ORM\PersistentCollection {#77 …}
    +categories: Doctrine\ORM\PersistentCollection {#64 …}
    -id: 40
    +apId: "lemmy_support@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/lemmy_support"
    +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
    +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "lemmy_support"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729581033 {#270
      date: 2024-10-22 09:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696687715 {#272
      date: 2023-10-07 16:08:35.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
  +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
  +title: "Adding custom PostgreSQL config later to docker"
  +url: null
  +body: """
    I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
    \n
    Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
    \n
    > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
    \n
    So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
    \n
    As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 2
  +favouriteCount: 1
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1700072096 {#1799
    date: 2023-11-15 19:14:56.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1914 …}
  +votes: Doctrine\ORM\PersistentCollection {#1395 …}
  +reports: Doctrine\ORM\PersistentCollection {#2480 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
  +badges: Doctrine\ORM\PersistentCollection {#1891 …}
  +children: []
  -id: 13264
  -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
  -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1700072960
  +visibility: "visible             "
  +apId: "https://swg-empire.de/post/267521"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700059960 {#59
    date: 2023-11-15 15:52:40.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4052
  +user: App\Entity\User {#4000 …}
  +entry: App\Entity\Entry {#2406
    +user: Proxies\__CG__\App\Entity\User {#1897 …}
    +magazine: App\Entity\Magazine {#266
      +icon: null
      +name: "lemmy_support@lemmy.ml"
      +title: "lemmy_support"
      +description: """
        Support / questions about Lemmy.\n
        \n
        [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 130
      +entryCommentCount: 600
      +postCount: 2
      +postCommentCount: 14
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1728910137 {#276
        date: 2024-10-14 14:48:57.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#254 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
      +entries: Doctrine\ORM\PersistentCollection {#197 …}
      +posts: Doctrine\ORM\PersistentCollection {#155 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
      +bans: Doctrine\ORM\PersistentCollection {#134 …}
      +reports: Doctrine\ORM\PersistentCollection {#120 …}
      +badges: Doctrine\ORM\PersistentCollection {#98 …}
      +logs: Doctrine\ORM\PersistentCollection {#88 …}
      +awards: Doctrine\ORM\PersistentCollection {#77 …}
      +categories: Doctrine\ORM\PersistentCollection {#64 …}
      -id: 40
      +apId: "lemmy_support@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/lemmy_support"
      +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
      +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "lemmy_support"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729581033 {#270
        date: 2024-10-22 09:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696687715 {#272
        date: 2023-10-07 16:08:35.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
    +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
    +title: "Adding custom PostgreSQL config later to docker"
    +url: null
    +body: """
      I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
      \n
      Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
      \n
      > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
      \n
      So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
      \n
      As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 2
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700072096 {#1799
      date: 2023-11-15 19:14:56.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1914 …}
    +votes: Doctrine\ORM\PersistentCollection {#1395 …}
    +reports: Doctrine\ORM\PersistentCollection {#2480 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
    +badges: Doctrine\ORM\PersistentCollection {#1891 …}
    +children: []
    -id: 13264
    -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
    -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700072960
    +visibility: "visible             "
    +apId: "https://swg-empire.de/post/267521"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700059960 {#59
      date: 2023-11-15 15:52:40.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Delete the directory, create the file. Docker creates a bind mount as a directory if it doesn’t exist."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1700333194 {#4061
    date: 2023-11-18 19:46:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@bjoern_tantau@swg-empire.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4050 …}
  +nested: Doctrine\ORM\PersistentCollection {#4048 …}
  +votes: Doctrine\ORM\PersistentCollection {#4046 …}
  +reports: Doctrine\ORM\PersistentCollection {#4044 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4012 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4016 …}
  -id: 127374
  -bodyTs: "'bind':10 'creat':4,8 'delet':1 'directori':3,14 'docker':7 'doesn':17 'exist':19 'file':6 'mount':11"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5335098"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700067063 {#3997
    date: 2023-11-15 17:51:03.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4052
  +user: App\Entity\User {#4000 …}
  +entry: App\Entity\Entry {#2406
    +user: Proxies\__CG__\App\Entity\User {#1897 …}
    +magazine: App\Entity\Magazine {#266
      +icon: null
      +name: "lemmy_support@lemmy.ml"
      +title: "lemmy_support"
      +description: """
        Support / questions about Lemmy.\n
        \n
        [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 130
      +entryCommentCount: 600
      +postCount: 2
      +postCommentCount: 14
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1728910137 {#276
        date: 2024-10-14 14:48:57.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#254 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
      +entries: Doctrine\ORM\PersistentCollection {#197 …}
      +posts: Doctrine\ORM\PersistentCollection {#155 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
      +bans: Doctrine\ORM\PersistentCollection {#134 …}
      +reports: Doctrine\ORM\PersistentCollection {#120 …}
      +badges: Doctrine\ORM\PersistentCollection {#98 …}
      +logs: Doctrine\ORM\PersistentCollection {#88 …}
      +awards: Doctrine\ORM\PersistentCollection {#77 …}
      +categories: Doctrine\ORM\PersistentCollection {#64 …}
      -id: 40
      +apId: "lemmy_support@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/lemmy_support"
      +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
      +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "lemmy_support"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729581033 {#270
        date: 2024-10-22 09:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696687715 {#272
        date: 2023-10-07 16:08:35.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
    +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
    +title: "Adding custom PostgreSQL config later to docker"
    +url: null
    +body: """
      I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
      \n
      Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
      \n
      > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
      \n
      So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
      \n
      As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 2
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700072096 {#1799
      date: 2023-11-15 19:14:56.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1914 …}
    +votes: Doctrine\ORM\PersistentCollection {#1395 …}
    +reports: Doctrine\ORM\PersistentCollection {#2480 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
    +badges: Doctrine\ORM\PersistentCollection {#1891 …}
    +children: []
    -id: 13264
    -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
    -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700072960
    +visibility: "visible             "
    +apId: "https://swg-empire.de/post/267521"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700059960 {#59
      date: 2023-11-15 15:52:40.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Delete the directory, create the file. Docker creates a bind mount as a directory if it doesn’t exist."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1700333194 {#4061
    date: 2023-11-18 19:46:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@bjoern_tantau@swg-empire.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4050 …}
  +nested: Doctrine\ORM\PersistentCollection {#4048 …}
  +votes: Doctrine\ORM\PersistentCollection {#4046 …}
  +reports: Doctrine\ORM\PersistentCollection {#4044 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4012 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4016 …}
  -id: 127374
  -bodyTs: "'bind':10 'creat':4,8 'delet':1 'directori':3,14 'docker':7 'doesn':17 'exist':19 'file':6 'mount':11"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5335098"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700067063 {#3997
    date: 2023-11-15 17:51:03.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4052
  +user: App\Entity\User {#4000 …}
  +entry: App\Entity\Entry {#2406
    +user: Proxies\__CG__\App\Entity\User {#1897 …}
    +magazine: App\Entity\Magazine {#266
      +icon: null
      +name: "lemmy_support@lemmy.ml"
      +title: "lemmy_support"
      +description: """
        Support / questions about Lemmy.\n
        \n
        [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 130
      +entryCommentCount: 600
      +postCount: 2
      +postCommentCount: 14
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1728910137 {#276
        date: 2024-10-14 14:48:57.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#254 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
      +entries: Doctrine\ORM\PersistentCollection {#197 …}
      +posts: Doctrine\ORM\PersistentCollection {#155 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
      +bans: Doctrine\ORM\PersistentCollection {#134 …}
      +reports: Doctrine\ORM\PersistentCollection {#120 …}
      +badges: Doctrine\ORM\PersistentCollection {#98 …}
      +logs: Doctrine\ORM\PersistentCollection {#88 …}
      +awards: Doctrine\ORM\PersistentCollection {#77 …}
      +categories: Doctrine\ORM\PersistentCollection {#64 …}
      -id: 40
      +apId: "lemmy_support@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/lemmy_support"
      +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
      +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "lemmy_support"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729581033 {#270
        date: 2024-10-22 09:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696687715 {#272
        date: 2023-10-07 16:08:35.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
    +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
    +title: "Adding custom PostgreSQL config later to docker"
    +url: null
    +body: """
      I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
      \n
      Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
      \n
      > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
      \n
      So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
      \n
      As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 2
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700072096 {#1799
      date: 2023-11-15 19:14:56.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1914 …}
    +votes: Doctrine\ORM\PersistentCollection {#1395 …}
    +reports: Doctrine\ORM\PersistentCollection {#2480 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
    +badges: Doctrine\ORM\PersistentCollection {#1891 …}
    +children: []
    -id: 13264
    -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
    -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700072960
    +visibility: "visible             "
    +apId: "https://swg-empire.de/post/267521"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700059960 {#59
      date: 2023-11-15 15:52:40.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Delete the directory, create the file. Docker creates a bind mount as a directory if it doesn’t exist."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1700333194 {#4061
    date: 2023-11-18 19:46:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@bjoern_tantau@swg-empire.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4050 …}
  +nested: Doctrine\ORM\PersistentCollection {#4048 …}
  +votes: Doctrine\ORM\PersistentCollection {#4046 …}
  +reports: Doctrine\ORM\PersistentCollection {#4044 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4012 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4016 …}
  -id: 127374
  -bodyTs: "'bind':10 'creat':4,8 'delet':1 'directori':3,14 'docker':7 'doesn':17 'exist':19 'file':6 'mount':11"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5335098"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700067063 {#3997
    date: 2023-11-15 17:51:03.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4070
  +user: Proxies\__CG__\App\Entity\User {#1897 …}
  +entry: App\Entity\Entry {#2406
    +user: Proxies\__CG__\App\Entity\User {#1897 …}
    +magazine: App\Entity\Magazine {#266
      +icon: null
      +name: "lemmy_support@lemmy.ml"
      +title: "lemmy_support"
      +description: """
        Support / questions about Lemmy.\n
        \n
        [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 130
      +entryCommentCount: 600
      +postCount: 2
      +postCommentCount: 14
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1728910137 {#276
        date: 2024-10-14 14:48:57.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#254 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
      +entries: Doctrine\ORM\PersistentCollection {#197 …}
      +posts: Doctrine\ORM\PersistentCollection {#155 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
      +bans: Doctrine\ORM\PersistentCollection {#134 …}
      +reports: Doctrine\ORM\PersistentCollection {#120 …}
      +badges: Doctrine\ORM\PersistentCollection {#98 …}
      +logs: Doctrine\ORM\PersistentCollection {#88 …}
      +awards: Doctrine\ORM\PersistentCollection {#77 …}
      +categories: Doctrine\ORM\PersistentCollection {#64 …}
      -id: 40
      +apId: "lemmy_support@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/lemmy_support"
      +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
      +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "lemmy_support"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729581033 {#270
        date: 2024-10-22 09:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696687715 {#272
        date: 2023-10-07 16:08:35.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
    +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
    +title: "Adding custom PostgreSQL config later to docker"
    +url: null
    +body: """
      I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
      \n
      Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
      \n
      > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
      \n
      So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
      \n
      As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 2
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700072096 {#1799
      date: 2023-11-15 19:14:56.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1914 …}
    +votes: Doctrine\ORM\PersistentCollection {#1395 …}
    +reports: Doctrine\ORM\PersistentCollection {#2480 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
    +badges: Doctrine\ORM\PersistentCollection {#1891 …}
    +children: []
    -id: 13264
    -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
    -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700072960
    +visibility: "visible             "
    +apId: "https://swg-empire.de/post/267521"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700059960 {#59
      date: 2023-11-15 15:52:40.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4052
    +user: App\Entity\User {#4000 …}
    +entry: App\Entity\Entry {#2406}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Delete the directory, create the file. Docker creates a bind mount as a directory if it doesn’t exist."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700333194 {#4061
      date: 2023-11-18 19:46:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@bjoern_tantau@swg-empire.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4050 …}
    +nested: Doctrine\ORM\PersistentCollection {#4048 …}
    +votes: Doctrine\ORM\PersistentCollection {#4046 …}
    +reports: Doctrine\ORM\PersistentCollection {#4044 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4012 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4016 …}
    -id: 127374
    -bodyTs: "'bind':10 'creat':4,8 'delet':1 'directori':3,14 'docker':7 'doesn':17 'exist':19 'file':6 'mount':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5335098"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700067063 {#3997
      date: 2023-11-15 17:51:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4052}
  +body: "That’s what I tried. When I start up the containers with `docker-compose up -d` I get the error posted above."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1700072096 {#4075
    date: 2023-11-15 19:14:56.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@bjoern_tantau@swg-empire.de"
    "@wmassingham@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4080 …}
  +nested: Doctrine\ORM\PersistentCollection {#4079 …}
  +votes: Doctrine\ORM\PersistentCollection {#4088 …}
  +reports: Doctrine\ORM\PersistentCollection {#4069 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4067 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4065 …}
  -id: 127618
  -bodyTs: "'compos':15 'contain':11 'd':17 'docker':14 'docker-compos':13 'error':21 'get':19 'post':22 'start':8 'tri':5"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://swg-empire.de/comment/1066111"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700072096 {#4072
    date: 2023-11-15 19:14:56.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4070
  +user: Proxies\__CG__\App\Entity\User {#1897 …}
  +entry: App\Entity\Entry {#2406
    +user: Proxies\__CG__\App\Entity\User {#1897 …}
    +magazine: App\Entity\Magazine {#266
      +icon: null
      +name: "lemmy_support@lemmy.ml"
      +title: "lemmy_support"
      +description: """
        Support / questions about Lemmy.\n
        \n
        [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 130
      +entryCommentCount: 600
      +postCount: 2
      +postCommentCount: 14
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1728910137 {#276
        date: 2024-10-14 14:48:57.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#254 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
      +entries: Doctrine\ORM\PersistentCollection {#197 …}
      +posts: Doctrine\ORM\PersistentCollection {#155 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
      +bans: Doctrine\ORM\PersistentCollection {#134 …}
      +reports: Doctrine\ORM\PersistentCollection {#120 …}
      +badges: Doctrine\ORM\PersistentCollection {#98 …}
      +logs: Doctrine\ORM\PersistentCollection {#88 …}
      +awards: Doctrine\ORM\PersistentCollection {#77 …}
      +categories: Doctrine\ORM\PersistentCollection {#64 …}
      -id: 40
      +apId: "lemmy_support@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/lemmy_support"
      +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
      +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "lemmy_support"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729581033 {#270
        date: 2024-10-22 09:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696687715 {#272
        date: 2023-10-07 16:08:35.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
    +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
    +title: "Adding custom PostgreSQL config later to docker"
    +url: null
    +body: """
      I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
      \n
      Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
      \n
      > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
      \n
      So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
      \n
      As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 2
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700072096 {#1799
      date: 2023-11-15 19:14:56.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1914 …}
    +votes: Doctrine\ORM\PersistentCollection {#1395 …}
    +reports: Doctrine\ORM\PersistentCollection {#2480 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
    +badges: Doctrine\ORM\PersistentCollection {#1891 …}
    +children: []
    -id: 13264
    -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
    -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700072960
    +visibility: "visible             "
    +apId: "https://swg-empire.de/post/267521"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700059960 {#59
      date: 2023-11-15 15:52:40.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4052
    +user: App\Entity\User {#4000 …}
    +entry: App\Entity\Entry {#2406}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Delete the directory, create the file. Docker creates a bind mount as a directory if it doesn’t exist."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700333194 {#4061
      date: 2023-11-18 19:46:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@bjoern_tantau@swg-empire.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4050 …}
    +nested: Doctrine\ORM\PersistentCollection {#4048 …}
    +votes: Doctrine\ORM\PersistentCollection {#4046 …}
    +reports: Doctrine\ORM\PersistentCollection {#4044 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4012 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4016 …}
    -id: 127374
    -bodyTs: "'bind':10 'creat':4,8 'delet':1 'directori':3,14 'docker':7 'doesn':17 'exist':19 'file':6 'mount':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5335098"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700067063 {#3997
      date: 2023-11-15 17:51:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4052}
  +body: "That’s what I tried. When I start up the containers with `docker-compose up -d` I get the error posted above."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1700072096 {#4075
    date: 2023-11-15 19:14:56.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@bjoern_tantau@swg-empire.de"
    "@wmassingham@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4080 …}
  +nested: Doctrine\ORM\PersistentCollection {#4079 …}
  +votes: Doctrine\ORM\PersistentCollection {#4088 …}
  +reports: Doctrine\ORM\PersistentCollection {#4069 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4067 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4065 …}
  -id: 127618
  -bodyTs: "'compos':15 'contain':11 'd':17 'docker':14 'docker-compos':13 'error':21 'get':19 'post':22 'start':8 'tri':5"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://swg-empire.de/comment/1066111"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700072096 {#4072
    date: 2023-11-15 19:14:56.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4070
  +user: Proxies\__CG__\App\Entity\User {#1897 …}
  +entry: App\Entity\Entry {#2406
    +user: Proxies\__CG__\App\Entity\User {#1897 …}
    +magazine: App\Entity\Magazine {#266
      +icon: null
      +name: "lemmy_support@lemmy.ml"
      +title: "lemmy_support"
      +description: """
        Support / questions about Lemmy.\n
        \n
        [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 130
      +entryCommentCount: 600
      +postCount: 2
      +postCommentCount: 14
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1728910137 {#276
        date: 2024-10-14 14:48:57.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#254 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
      +entries: Doctrine\ORM\PersistentCollection {#197 …}
      +posts: Doctrine\ORM\PersistentCollection {#155 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
      +bans: Doctrine\ORM\PersistentCollection {#134 …}
      +reports: Doctrine\ORM\PersistentCollection {#120 …}
      +badges: Doctrine\ORM\PersistentCollection {#98 …}
      +logs: Doctrine\ORM\PersistentCollection {#88 …}
      +awards: Doctrine\ORM\PersistentCollection {#77 …}
      +categories: Doctrine\ORM\PersistentCollection {#64 …}
      -id: 40
      +apId: "lemmy_support@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/lemmy_support"
      +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
      +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "lemmy_support"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729581033 {#270
        date: 2024-10-22 09:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696687715 {#272
        date: 2023-10-07 16:08:35.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1865 …}
    +slug: "Adding-custom-PostgreSQL-config-later-to-docker"
    +title: "Adding custom PostgreSQL config later to docker"
    +url: null
    +body: """
      I’m running Lemmy through [Docker](https://join-lemmy.org/docs/administration/install_docker.html). Because I have problems with the performance of my Lemmy instance I wanted to tune my PostgreSQL container to better utilise my RAM. Foolishly I skipped that step when I initially set everything up.\n
      \n
      Docker-compose seems to have created the **directory** `customPostgresql.conf` when I first fired it up. Now, when I try to remove this directory and instead add it as a file with my settings I get the error.\n
      \n
      > ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:76: mounting “/var/kunden/webs/default/lemmy/customPostgresql.conf” to rootfs at “/etc/postgresql.conf” caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\n
      \n
      So I guess it doesn’t like that because it has already created `/etc/postgresql.conf` as a directory inside the container. Is there a way to reverse that?\n
      \n
      As a workaround I’ve added my settings to `volumes/postgres/postgresql.conf`. But I’d prefer to have everything set up like it’s shown in the documentation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 2
    +favouriteCount: 1
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700072096 {#1799
      date: 2023-11-15 19:14:56.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1914 …}
    +votes: Doctrine\ORM\PersistentCollection {#1395 …}
    +reports: Doctrine\ORM\PersistentCollection {#2480 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1890 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1902 …}
    +badges: Doctrine\ORM\PersistentCollection {#1891 …}
    +children: []
    -id: 13264
    -titleTs: "'ad':1 'config':4 'custom':2 'docker':7 'later':5 'postgresql':3"
    -bodyTs: "'/docs/administration/install_docker.html).':9 '/etc/postgresql.conf':108,156 '/var/kunden/webs/default/lemmy/custompostgresql.conf':104 'ad':175 'add':70 'alreadi':154 'better':29 'cannot':85 'caus':97,101,109 'check':131 'compos':46 'contain':27,95,99,162 'container_linux.go:367':93 'creat':50,91,155 'custompostgresql.conf':53 'd':182 'directori':52,67,115,123,159 'docker':6,45 'docker-compos':44 'document':195 'doesn':147 'error':81,82 'everyth':42,186 'exist':137 'expect':141 'fail':92 'file':74,126 'fire':57 'first':56 'foolish':33 'get':79 'guess':145 'host':135 'init':100 'initi':40 'insid':160 'instanc':20 'instead':69 'join-lemmy.org':8 'join-lemmy.org/docs/administration/install_docker.html).':7 'lemmi':4,19 'like':149,189 'm':2 'mount':103,110,121 'oci':89 'onto':124 'path':136 'perform':16 'postgr':84,88 'postgresql':26 'prefer':183 'problem':13 'process':96 'process_linux.go:495':98 'procfd':112 'ram':32 'remov':65 'revers':168 'rootf':106 'rootfs_linux.go:76':102 'run':3 'runtim':90 'seem':47 'servic':87 'set':41,77,177,187 'shown':192 'skip':35 'specifi':134 'start':86,94 'step':37 'tri':63,119 'tune':24 'type':142 'unknown':116 'utilis':30 've':174 'versa':130 'vice':129 'vice-versa':128 'volumes/postgres/postgresql.conf':179 'want':22 'way':166 'workaround':172"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700072960
    +visibility: "visible             "
    +apId: "https://swg-empire.de/post/267521"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700059960 {#59
      date: 2023-11-15 15:52:40.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4052
    +user: App\Entity\User {#4000 …}
    +entry: App\Entity\Entry {#2406}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Delete the directory, create the file. Docker creates a bind mount as a directory if it doesn’t exist."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700333194 {#4061
      date: 2023-11-18 19:46:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@bjoern_tantau@swg-empire.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4050 …}
    +nested: Doctrine\ORM\PersistentCollection {#4048 …}
    +votes: Doctrine\ORM\PersistentCollection {#4046 …}
    +reports: Doctrine\ORM\PersistentCollection {#4044 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4012 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4016 …}
    -id: 127374
    -bodyTs: "'bind':10 'creat':4,8 'delet':1 'directori':3,14 'docker':7 'doesn':17 'exist':19 'file':6 'mount':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5335098"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700067063 {#3997
      date: 2023-11-15 17:51:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4052}
  +body: "That’s what I tried. When I start up the containers with `docker-compose up -d` I get the error posted above."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1700072096 {#4075
    date: 2023-11-15 19:14:56.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@bjoern_tantau@swg-empire.de"
    "@wmassingham@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4080 …}
  +nested: Doctrine\ORM\PersistentCollection {#4079 …}
  +votes: Doctrine\ORM\PersistentCollection {#4088 …}
  +reports: Doctrine\ORM\PersistentCollection {#4069 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4067 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4065 …}
  -id: 127618
  -bodyTs: "'compos':15 'contain':11 'd':17 'docker':14 'docker-compos':13 'error':21 'get':19 'post':22 'start':8 'tri':5"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://swg-empire.de/comment/1066111"
  +editedAt: null
  +createdAt: DateTimeImmutable @1700072096 {#4072
    date: 2023-11-15 19:14:56.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED edit
App\Entity\Magazine {#266
  +icon: null
  +name: "lemmy_support@lemmy.ml"
  +title: "lemmy_support"
  +description: """
    Support / questions about Lemmy.\n
    \n
    [Matrix Space: #lemmy-space](https://matrix.to/#/#lemmy-space:matrix.org)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 130
  +entryCommentCount: 600
  +postCount: 2
  +postCommentCount: 14
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1728910137 {#276
    date: 2024-10-14 14:48:57.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#254 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#250 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#239 …}
  +entries: Doctrine\ORM\PersistentCollection {#197 …}
  +posts: Doctrine\ORM\PersistentCollection {#155 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#217 …}
  +bans: Doctrine\ORM\PersistentCollection {#134 …}
  +reports: Doctrine\ORM\PersistentCollection {#120 …}
  +badges: Doctrine\ORM\PersistentCollection {#98 …}
  +logs: Doctrine\ORM\PersistentCollection {#88 …}
  +awards: Doctrine\ORM\PersistentCollection {#77 …}
  +categories: Doctrine\ORM\PersistentCollection {#64 …}
  -id: 40
  +apId: "lemmy_support@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/lemmy_support"
  +apPublicUrl: "https://lemmy.ml/c/lemmy_support"
  +apFollowersUrl: "https://lemmy.ml/c/lemmy_support/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "lemmy_support"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729581033 {#270
    date: 2024-10-22 09:10:33.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1696687715 {#272
    date: 2023-10-07 16:08:35.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details