{"id":237217,"date":"2022-11-16T12:09:25","date_gmt":"2022-11-16T10:09:25","guid":{"rendered":"https:\/\/devowl.io\/?post_type=knowledge-base&#038;p=237217"},"modified":"2022-11-16T12:21:06","modified_gmt":"2022-11-16T10:21:06","slug":"file-states-synchronized-but-is-not","status":"publish","type":"knowledge-base","link":"https:\/\/devowl.io\/de\/wissensdatenbank\/datei-schreibt-synchronisiert-ist-sie-aber-nicht\/","title":{"rendered":"Die Mediendatei gibt an, dass sie physisch synchronisiert ist, aber das ist sie nicht"},"content":{"rendered":"<section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Wenn du eine Datei hochl\u00e4dst oder eine bestehende Datei in deiner Mediathek ansiehst und siehst, dass die URL \/ der Pfad der Datei nicht mit dem Ordner synchronisiert ist, aber es hei\u00dft \"Datei ist physisch synchronisiert\", kann das verschiedene Gr\u00fcnde haben.<\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Ursache 1: Kein Autor f\u00fcr eine bestimmte Datei<\/h2>\n<p class=\"translation-block\">Der WordPress Core muss zum Zeitpunkt der Berechnung des physischen Pfads den aktuellen Eigent\u00fcmer der Datei kennen. Wenn du zum Beispiel eine Datei \u00fcber den WP CLI-Befehl <a href=\"https:\/\/developer.wordpress.org\/cli\/commands\/media\/import\/\" target=\"_blank\" rel=\"noopener\"><code>wp media import<\/code><\/a> hochl\u00e4dst, hat diese Datei keinen Besitzer.<\/p>\n<p>Es gibt zwei L\u00f6sungen:<\/p>\n<ul>\n<li>Aktualisiere den Autor der Mediendatei \u00fcber die WordPress Core API durch Custom Coding<\/li>\n<li class=\"translation-block\">Verwende ein Plugin wie <a href=\"https:\/\/wordpress.org\/plugins\/bulk-change-media-author\/\" target=\"_blank\" rel=\"noopener\">Bulk Change Media Author<\/a> (veraltet, funktioniert aber noch)<\/li>\n<\/ul>\n<h2>Ursache 2: Symlinks<\/h2>\n<p class=\"translation-block\">Leider ist es nicht m\u00f6glich, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Symbolic_link\" target=\"_blank\" rel=\"noopener\">symbolische Links<\/a> mit Real Physical Media zu bearbeiten.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>","protected":false},"template":"","topic":[32],"class_list":["post-237217","knowledge-base","type-knowledge-base","status-publish","hentry","topic-common-issues-rpm"],"acf":[],"_links":{"self":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/237217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base"}],"about":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/types\/knowledge-base"}],"version-history":[{"count":3,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/237217\/revisions"}],"predecessor-version":[{"id":237220,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/237217\/revisions\/237220"}],"wp:attachment":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/media?parent=237217"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/topic?post=237217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}