endi.linux.mint51510
endi.linux.mint51510

I just updated OctoberCMS to version 2.1.24. But on my website dashboard it shows version notes CURRENT BUILD 2.1.23 (with the text Updates Available at the bottom) and the LATEST BUILD version 2.1.24. What I want to ask is does this indicate something normal?

Because, the update process using the php artisan october:update command always stops at the line : System\Console\ComposerScript::postUpdateCmd

Last updated

cto52010
cto52010

Having the (I think) exact same issue:

  • run "php artisan october:update" from 2.1.23 to 2.1.24
  • last feedback from the terminal is "> System\Console\ComposerScript::postUpdateCmd" (and then the process just hangs indefinitely)
  • version is not updated in CMS.
  • run update again, updater now says "Nothing to install, update or remove"
  • hangs again at "> System\Console\ComposerScript::postUpdateCmd"
  • version is not updated in CMS, still at 2.1.23 and says "update available".
  • repeat, no change.

Running composer 2.1.14 on php 8.0.14

daftspunky
daftspunky

Thanks for the report. This was caused by the latest composer version, it has been downgraded in october/rain v2.1.24.1 and should be fixed now.

endi.linux.mint51510
endi.linux.mint51510

I also get an error message in the event log :

Symfony\Component\Debug\Exception\FatalThrowableError: Class 'League\Flysystem\Sftp\SftpAdapter' not found in .../vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php:193

and when running command php artisan plugin:install get error :

Generating autoload files
In Filesystem.php line 913:
fopen(/path/folder/mywebsite.com/vendor/composer/composer/src/Composer/Autoload/../../../LICENSE): failed to open stream: No such file or directory

and when running the command php artisan october:update error also occurs

[ErrorException]
  file_put_contents(./composer.lock): failed to open stream: Permission denied
endi.linux.mint51510
endi.linux.mint51510

This fixed my problem. I gave all sudo user permissions to my website root folder as pictured below [and I managed to update OctoberCMS to the latest version currently 2.1.24]

[root@myhost mywebsite.com]# chown sudo:sudo -R /rootpath/folder/mywebsite.com
[root@myhost mywebsite.com]# su sudo
[toor@myhost mywebsite.com]$ php artisan october:update
Updating October CMS...
Executing: composer update

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, 2 updates, 0 removals
    0 [>---------------------------]    0 [>---------------------------]
  - Downgrading composer/composer (2.2.0 => 2.1.14): Extracting archive
  - Upgrading october/rain (v2.1.24 => v2.1.24.1): Extracting archive
 0/2 [>---------------------------]   0%
 1/2 [==============>-------------]  50%
 2/2 [============================] 100%
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
> System\Console\ComposerScript::postAutoloadDump
80 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> System\Console\ComposerScript::postUpdateCmd

* You are using October CMS version: v2.1.24
Mirror Path: [public]
Executing: php artisan october:migrate

Migrating application and plugins...
System
Nothing to migrate.
Backend
Nothing to migrate.
Cms
Nothing to migrate.
Editor
Nothing to migrate.
Media
Nothing to migrate.
Atlab.YandexMoneyTransfer
- Nothing to update.
Croqo.Lottie
- Nothing to update.
GromIT.Forms
- v1.0.1 First version of Forms
- v1.0.2 Events, buttons config
- v1.0.3 Translations fix
IHORCHYSHKALA.RelativePath
- Nothing to update.
Indikator.Backend
- Nothing to update.
Indikator.BackendElite
- Nothing to update.
Kenshin.Facebook
- Nothing to update.
Martin.Quotes
- Nothing to update.
Martin.SSButtons
- Nothing to update.
Multiwebinc.Recaptcha
- Nothing to update.
Newride.InlineAssets
- Nothing to update.
NiaInteractive.ListFiles
- Nothing to update.
OFFLINE.RandomImages
- Nothing to update.
OFFLINE.SiteSearch
- Nothing to update.
October.Drivers
- Nothing to update.
PanaKour.Backup
- Nothing to update.
Pkurg.Visitors
- Nothing to update.
Radiantweb.Promedia
- Nothing to update.
RainLab.Blog
- Nothing to update.
RainLab.Builder
- Nothing to update.
RainLab.GoogleAnalytics
- Nothing to update.
RainLab.Location
- Nothing to update.
RainLab.Notify
- Nothing to update.
RainLab.Sitemap
- Nothing to update.
RainLab.Translate
- Nothing to update.
RainLab.User
- Nothing to update.
RainLab.UserPlus
- Nothing to update.
Responsiv.Currency
- Nothing to update.
Ribsousa.Featuredimages
- Nothing to update.
SoBoRed.Rss
- Nothing to update.
Vdlp.Hashids
- Nothing to update.
Vdomah.BlogViews
- Nothing to update.
VojtaSvoboda.Brands
- Nothing to update.
VojtaSvoboda.TwigExtensions
- Nothing to update.
Xeor.Duplicate
- Nothing to update.
ZenWare.NovemberGallery
- Nothing to update.
AhmadFatoni.ApiGenerator
- Nothing to update.
Excodus.TranslateExtended
- Nothing to update.
Flynsarmy.SocialLogin
- Nothing to update.
JBonnyDev.UserPermissions
- Nothing to update.
KurtJensen.Passage
- Nothing to update.
KurtJensen.Profile
- Nothing to update.
Mohsin.Social
- Nothing to update.
PKleindienst.BlogSearch
- Nothing to update.
Pixel.Shop
- Nothing to update.
Pkurg.BlogFeaturedFiles
- v1.0.1 First version
- v1.0.2 Fix
RainLab.Forum
- Nothing to update.

 [OK] System Updated to v2.1.24

Last updated

1-5 of 5