Selam. Artık 1 yıl olucak ki, ben bir forum kurdum. Kurarken /flarum klasörünün içinde yüklü oldu tüm dosya ve klasörler. İçindeki tüm dosya ve klasörleri dışa aktardım. Config.php ve site.php -de gereken düzenlemeleri yaptim, yani birbaşa siteadı.com yazdım çalıştı. Fakat yakında bir kaç extensionu yenilerken sorunlar çıktı ve yenilenmedi. Halbuki bir iki defa yenilenmiş ve kurulumu hatasızdı. Ben bunu flarumun resmi community-de araştırırıken benden flarum cedveli istendi. Terminalda /flarum comutunu yazdığımda çalışmadı ve ayrica symfony yenilemeleri gelmişdi.

Burada flarum iyi bilen insanlardan yardım istiyorum.

1.Flarum komutu çalışmıyor:

2.Sistem Şeması:

  1. verilmiş bu kodu yazdığımda: composer update --prefer-dist --no-dev -a
    Bu sorun oluşuyor:

Yardımcı ola bilecek birileri olursa sevinirim.

Güncellerken hata aldığım extensionlar:

Bu extensionlardan birini güncellemeye kalktigimda site resimdeki gibi oluyor.
Mesela:
[codestac@az-s3 public_html]$ composer update fof/user-bio
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 23 updates, 0 removals

  • Downloading symfony/yaml (v5.4.45)
  • Downloading symfony/translation (v5.4.45)
  • Downloading symfony/mime (v5.4.45)
  • Downloading symfony/event-dispatcher (v5.4.45)
  • Downloading symfony/string (v6.4.13)
  • Downloading symfony/console (v5.4.46)
  • Downloading symfony/filesystem (v6.4.13)
  • Downloading symfony/config (v5.4.46)
  • Downloading laminas/laminas-stratigility (3.13.0)
  • Downloading jaybizzle/crawler-detect (v1.2.121)
  • Downloading symfony/finder (v5.4.45)
  • Downloading symfony/http-foundation (v5.4.46)
  • Downloading symfony/process (v5.4.46)
  • Downloading symfony/css-selector (v7.1.6)
  • Downloading composer/ca-bundle (1.5.3)
  • Downloading composer/composer (2.8.2)
  • Downloading fof/best-answer (1.5.9)
  • Downloading fof/follow-tags (1.2.7)
  • Downloading fof/polls (2.2.9)
  • Downloading fof/terms (1.4.0)
  • Downloading fof/upload (1.5.7)
  • Downloading fof/user-bio (1.4.2)
  • Downloading v17development/flarum-blog (v0.8.0)
  • Upgrading symfony/yaml (v5.4.44 => v5.4.45): Extracting archive
  • Upgrading symfony/translation (v5.4.44 => v5.4.45): Extracting archive
  • Upgrading symfony/mime (v5.4.43 => v5.4.45): Extracting archive
  • Upgrading symfony/event-dispatcher (v5.4.40 => v5.4.45): Extracting archive
  • Upgrading symfony/string (v6.4.12 => v6.4.13): Extracting archive
  • Upgrading symfony/console (v5.4.44 => v5.4.46): Extracting archive
  • Upgrading symfony/filesystem (v6.4.12 => v6.4.13): Extracting archive
  • Upgrading symfony/config (v5.4.40 => v5.4.46): Extracting archive
  • Upgrading laminas/laminas-stratigility (3.12.0 => 3.13.0): Extracting archive
  • Upgrading jaybizzle/crawler-detect (v1.2.120 => v1.2.121): Extracting archive
  • Upgrading symfony/finder (v5.4.43 => v5.4.45): Extracting archive
  • Upgrading symfony/http-foundation (v5.4.44 => v5.4.46): Extracting archive
  • Upgrading symfony/process (v5.4.44 => v5.4.46): Extracting archive
  • Upgrading symfony/css-selector (v7.1.1 => v7.1.6): Extracting archive
  • Upgrading composer/ca-bundle (1.5.2 => 1.5.3): Extracting archive
  • Upgrading composer/composer (2.8.1 => 2.8.2): Extracting archive
  • Upgrading fof/best-answer (1.5.7 => 1.5.9): Extracting archive
  • Upgrading fof/follow-tags (1.2.6 => 1.2.7): Extracting archive
  • Upgrading fof/polls (2.2.8 => 2.2.9): Extracting archive
  • Upgrading fof/terms (1.3.0 => 1.4.0): Extracting archive
  • Upgrading fof/upload (1.5.5 => 1.5.7): Extracting archive
  • Upgrading fof/user-bio (1.4.0 => 1.4.2): Extracting archive
  • Upgrading v17development/flarum-blog (v0.7.7 => v0.8.0): Extracting archive
    Package askvortsov/flarum-auto-moderator is abandoned, you should avoid using it. Use askvortsov/flarum-automod instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Generating autoload files
    118 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    No security vulnerability advisories found.

Yani ben bir extension güncellemek istiyorum hepsi böyle oluyor

Değerli arkadaşlar uzun zamandır aradığım çözümü buldum gibi, yani şimdilik sorunun çözüldüğünü görüyorum. Fakat sizden istediğim flarumu doğru şekildemi kurmuşum ya yok?

Çözüm (Bu adımları takip ettim) (Kimese lazım olur olur belki):
1.Composer’ı yeni sürümüyle indirip kurun: Composer’ı en son sürümüyle manuel olarak şu komutla indirebilirsiniz:
curl -sS https://getcomposer.org/installer | php

2.Composer’ı güncellemek için:
php /home/codestac/public_html/composer.phar self-update

3.Tüm Uzantıları Güncellemek İçin: Bütün uzantıları güncellemek için şu komutu çalıştırabilirsiniz:
php /home/codestac/public_html/composer.phar update

Siteme girdğimde Flarum update için benden veri bazasının şifresini istedi , yazdığım zaman flarum güncelleniyor yazılıb 1,2 saniye sonra site açıldı. Hem de güncüllünmümiş tüm extensionlar güncellendi. Extension managerden yokladım tüm extensionları güncel hiç bişey yok.

composer remove askvortsov/flarum-auto-moderator yapıp composer require askvortsov/flarum-automod yapsanız? swiftmailer bağımlılığı sizin güncelleyebileceğiniz bir tür değil ama diğerinden kaynaklı da hata alıyor olabilirisiniz.

    tolgaaaltas olmuyordu. Bu automod artık çalışmıyormu? zaten düzeldiğinde automod silindi kendiliyinden)

    7 gün sonra

    serdarname composer.json dosyası vardır ana dizinde oradan bahsi geçen uzantıyı silin ardından extension manager’den toplu güncelleme başlatmayı deneyin. Bu tarz bir öneriyi daha önce görmüştüm kendim denemedim

      huseyinfiliz hoxam bende auto-moderator uzantısı yüklü değil Extension Manager üzerinde blog uzantısı güncellenmiyor

        serdarname anlıyorum fakat sorunun neyden kaynaklandığını söylemiyorsun ki. php flarum info veya composer log dosyasını paylaşırsan yardımcı olabiliriz.

          huseyinfiliz hocam error_log dosya içerisi bu.

          [10-Dec-2024 14:20:34 Europe/Istanbul] PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.2.0”. You are running 7.4.33. in /home/*/public_html/vendor/composer/platform_check.php on line 24
          [10-Dec-2024 11:25:19 UTC] PHP Fatal error: Out of memory (allocated 102760448 bytes) (tried to allocate 8192 bytes) in /home/
          /public_html/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 79
          [10-Dec-2024 11:25:32 UTC] PHP Fatal error: Out of memory (allocated 102760448 bytes) (tried to allocate 8192 bytes) in /home/
          /public_html/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 79
          [10-Dec-2024 15:40:15 Europe/Istanbul] PHP Warning: require_once(/home/derinanlam/public_html/vendor/composer/autoload_real.php): Failed to open stream: No such file or directory in /home/
          /public_html/vendor/autoload.php on line 23
          [10-Dec-2024 15:40:15 Europe/Istanbul] PHP Fatal error: Uncaught Error: Failed opening required ‘/home/
          */public_html/vendor/composer/autoload_real.php’ (include_path=‘.:/opt/cpanel/ea-php82/root/usr/share/pear’) in /home//public_html/vendor/autoload.php:23
          Stack trace:
          #0 /home//public_html/site.php(22): require()
          #1 /home/
          /public_html/index.php(10): require(‘/home/derinanla…’)
          #2 {main}
          thrown in /home/
          /public_html/vendor/autoload.php on line 23
          [10-Dec-2024 15:40:16 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class “ComposerAutoloaderInit954fbf2bcc37f7652e6dc7030f6f6710” not found in /home/
          /public_html/vendor/autoload.php:25
          Stack trace:
          #0 /home/
          /public_html/site.php(22): require()
          #1 /home/
          /public_html/index.php(10): require(‘/home/derinanla…’)
          #2 {main}
          thrown in /home/
          /public_html/vendor/autoload.php on line 25
          [10-Dec-2024 15:40:55 Europe/Istanbul] PHP Warning: require_once(/home/derinanlam/public_html/vendor/composer/autoload_real.php): Failed to open stream: No such file or directory in /home/
          /public_html/vendor/autoload.php on line 23
          [10-Dec-2024 15:40:55 Europe/Istanbul] PHP Fatal error: Uncaught Error: Failed opening required ‘/home/
          */public_html/vendor/composer/autoload_real.php’ (include_path=‘.:/opt/cpanel/ea-php82/root/usr/share/pear’) in /home/derinanlam/public_html/vendor/autoload.php:23
          Stack trace:
          #0 /home/derinanlam/public_html/site.php(22): require()
          #1 /home/derinanlam/public_html/index.php(10): require(‘/home/derinanla…’)
          #2 {main}
          thrown in /home/derinanlam/public_html/vendor/autoload.php on line 23
          [10-Dec-2024 15:40:56 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class “ComposerAutoloaderInit63d3c3708397c2b848b4958936630ee6” not found in /home/derinanlam/public_html/vendor/autoload.php:25
          Stack trace:
          #0 /home/derinanlam/public_html/site.php(22): require()
          #1 /home/derinanlam/public_html/index.php(10): require(‘/home/derinanla…’)
          #2 {main}
          thrown in /home/derinanlam/public_html/vendor/autoload.php on line 25
          [11-Dec-2024 10:48:10 UTC] PHP Fatal error: Out of memory (allocated 117440512 bytes) (tried to allocate 8192 bytes) in /home/derinanlam/public_html/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 79
          [11-Dec-2024 11:13:27 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [11-Dec-2024 11:13:27 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [11-Dec-2024 11:13:27 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [11-Dec-2024 11:13:34 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [11-Dec-2024 11:21:42 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [11-Dec-2024 11:21:42 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [11-Dec-2024 11:21:42 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [12-Dec-2024 07:04:26 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [12-Dec-2024 07:04:26 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14
          [12-Dec-2024 07:04:26 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /home/derinanlam/public_html/vendor/clarkwinkelmann/flarum-ext-collapsible-posts/src/Visibility/PostScope.php on line 14

            serdarname birden fazla sorun var gibi gözüküyor.

            Sitenin php sürümünü 8.2′ye çekmeyi deneyin.

            clarkwinkelmann/flarum-ext-collapsible-posts eklentisini kaldırmayı deneyin.

            Toplu güncelleme yerine eklentinin üzerinden soft update yapmayı deneyin.

            Bunların biri veya hepsini yapmanız gerekebilir.

              huseyinfiliz hocam clarkwinkelmann/flarum-ext-collapsible-posts bunu kaldırdım peki
              “Toplu güncelleme yerine eklentinin üzerinden soft update yapmayı deneyin” bunu nasıl yapacağım?

                serdarname

                Extension manager’de güncelleme kontrolü sonrasında gözüken uzantıların sağında yukarı oka tıkladığınızda açılan menüden

                  huseyinfiliz hocam zaten öyle yapıyorum, başka eklentiler güncelleniyor ama nedense bu blog uzantısı güncellenmiyor ilginç.

                    Hadımköy Kombi Servisi Minecraft Türk Sunucular