Problemas para atualização [Resolvido]

Estou tendo muitos problemas com a atual versão do sistema. Então, resolvi atualizar para a versão mais recente e estável.
Tentei atualizar de duas formas sem sucesso:

1- Fiz o procedimento padrão. Backup de arquivos e banco de dados. Baixar a versão desejada. Preservar a pasta “public”, pasta dos arquivos e arquivo. config.inc. Porém, eu não consigo atualizar a versão porque o botão de atualizar foi substituido por algo como " ##installer.appInstallation##". Apesar das informações do banco de dados esteem corretas. Há uma mensagem de erro: “##installer.installErrorsOccurred##
##common.error.databaseError##”.

2- Entrei por ssh. Chequei a versão do sistema e rodei o upgrade. Apareceram alguns erros:

Code version: 3.3.0.8
Database version: 3.3.0.7
Latest version: 3.3.0.14
Database version is older than code version
Run “upgrade.php upgrade” to update
root@2023-ubuntu-s-1vcpu-2gb-intel-nyc1-01:/www/wwwroot/cabecs.com.br/tools# php upgrade.php upgrade
[pre-install]
[load: upgrade.xml]
[version: 3.3.0.8]

[code: Installer Installer::checkPhpVersion]

[code: Installer Installer::installDefaultNavigationMenus]
WARNING: The NavigationMenu (ContextId: 6, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 6, Title: Primary Navigation Menu, Area: primary) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 5, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 5, Title: Primary Navigation Menu, Area: primary) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 1, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 1, Title: Primary Navigation Menu, Area: primary) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 0, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.

[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]

[code: Installer Installer::addPluginVersions]
[post-install]
PHP Fatal error: Uncaught Error: Call to a member function translate() on null in /www/wwwroot/cabecs.com.br/lib/pkp/classes/i18n/PKPLocale.inc.php:266
Stack trace:
#0 /www/wwwroot/cabecs.com.br/lib/pkp/classes/i18n/PKPLocale.inc.php(922): PKPLocale::translate()
#1 /www/wwwroot/cabecs.com.br/lib/pkp/classes/plugins/Plugin.inc.php(711): __()
#2 /www/wwwroot/cabecs.com.br/lib/pkp/classes/plugins/HookRegistry.inc.php(107): Plugin->updateSchema()
#3 /www/wwwroot/cabecs.com.br/lib/pkp/classes/install/Installer.inc.php(192): HookRegistry::call()
#4 /www/wwwroot/cabecs.com.br/lib/pkp/classes/install/Installer.inc.php(178): Installer->postInstall()
#5 /www/wwwroot/cabecs.com.br/lib/pkp/classes/cliTool/UpgradeTool.inc.php(89): Installer->execute()
#6 /www/wwwroot/cabecs.com.br/lib/pkp/classes/cliTool/UpgradeTool.inc.php(65): UpgradeTool->upgrade()
#7 /www/wwwroot/cabecs.com.br/tools/upgrade.php(22): UpgradeTool->execute()
#8 {main}
thrown in /www/wwwroot/cabecs.com.br/lib/pkp/classes/i18n/PKPLocale.inc.php on line 266
root@2023-ubuntu-s-1vcpu-2gb-intel-nyc1-01:/www/wwwroot/cabecs.com.br/tools#

Obrigado pelas dicas

1 curtida

Você está com problema nas traduções, por isso as mensagens aparecem em códigos (como “##installer.installErrorsOccurred## e ##common.error.databaseError##”). Confira se os pacotes de idiomas estão todos presentes na versão que vc baixou (baixe sempre do site da PKP).
O erro na sua atualização também parece relacionado a essa ausência de locales. Então confira se seu pacote da nova versão está completo. As vezes quando subimos e descompactamos pelo cpanel pode acontecer algum erro e faltam arquivos, vc pode subir via cpanel ou ftp e descompactar o pacote no ssh para garantir.

Outra coisa que me intriga é o banco e o core apresentarem versões diferentes. Confirme a versão do seu banco na tabela Versions. Em product_type procure por core e veja qual versão está marcada como ativa (current = 1).
Depois de confirmar a versão, na sua atualização, reverta o banco para a versão pré-atualização e limpe a pasta cache.
O config da instalação atual vc vai renomear e vai usar o da nova versão para a atualização. Abra o config da nova versão, preencha as informações ausentes, marque On na opção Show Stacktrace e tente atualizar novamente.

Mais do que isso não consigo ajudar sem colocar a mão na massa.

3 curtidas

Eu vi que tem um plugin para solucionar esses problemas de locale, porem eu nao consegui instala-lo pelo gerenciador do OJS. Existe uma forma de instala-lo pelo diretorio dos arquivos?

Na tabela rt_versions está assim:

INSERT INTO versions (major, minor, revision, build, date_installed, current, product_type, product, product_class_name, lazy_load, sitewide) VALUES
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.metadata’, ‘openurl10’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.metadata’, ‘nlm30’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.metadata’, ‘mods34’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.metadata’, ‘dc11’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.auth’, ‘ldap’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘help’, ‘HelpBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘donation’, ‘DonationBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘readingTools’, ‘ReadingToolsBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘information’, ‘InformationBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘relatedItems’, ‘RelatedItemsBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘notification’, ‘NotificationBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘keywordCloud’, ‘KeywordCloudBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘role’, ‘RoleBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘authorBios’, ‘AuthorBiosBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘user’, ‘UserBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 0, ‘plugins.blocks’, ‘subscription’, ‘SubscriptionBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘navigation’, ‘NavigationBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘developedBy’, ‘DevelopedByBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘languageToggle’, ‘LanguageToggleBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.blocks’, ‘fontSize’, ‘FontSizeBlockPlugin’, 1, 0),
(1, 2, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘acron’, ‘AcronPlugin’, 1, 1),
(1, 0, 1, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.blocks’, ‘browse’, ‘BrowseBlockPlugin’, 1, 0),
(1, 1, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.blocks’, ‘subscription’, ‘SubscriptionBlockPlugin’, 1, 0),
(1, 0, 1, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘pdfJsViewer’, ‘PdfJsViewerPlugin’, 1, 0),
(1, 2, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘customBlockManager’, ‘CustomBlockManagerPlugin’, 1, 0),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘recommendByAuthor’, ‘RecommendByAuthorPlugin’, 1, 1),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.citationLookup’, ‘crossref’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.citationLookup’, ‘isbndb’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.citationLookup’, ‘pubmed’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:01’, 1, ‘plugins.citationLookup’, ‘worldcat’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.blocks’, ‘makeSubmission’, ‘MakeSubmissionBlockPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.citationParser’, ‘parscit’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.citationParser’, ‘freecite’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.citationParser’, ‘paracite’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.citationParser’, ‘regex’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.gateways’, ‘metsGateway’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.gateways’, ‘resolver’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘driver’, ‘DRIVERPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘webFeed’, ‘WebFeedPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘coins’, ‘CoinsPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘usageStats’, ‘UsageStatsPlugin’, 0, 1),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘tinymce’, ‘TinyMCEPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘thesisFeed’, ‘ThesisFeedPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘customLocale’, ‘CustomLocalePlugin’, 1, 0),
(1, 1, 0, 0, ‘2017-02-09 16:42:02’, 0, ‘plugins.generic’, ‘customBlockManager’, ‘CustomBlockManagerPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘booksForReview’, ‘BooksForReviewPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘googleAnalytics’, ‘GoogleAnalyticsPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘phpMyVisites’, ‘PhpMyVisitesPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘backup’, ‘BackupPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘announcementFeed’, ‘AnnouncementFeedPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘sehl’, ‘SehlPlugin’, 1, 0),
(1, 1, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘openAIRE’, ‘OpenAIREPlugin’, 1, 0),
(1, 2, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘pln’, ‘PLNPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘externalFeed’, ‘ExternalFeedPlugin’, 1, 0),
(1, 1, 0, 0, ‘2017-02-09 16:42:02’, 0, ‘plugins.generic’, ‘acron’, ‘AcronPlugin’, 1, 1),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘referral’, ‘ReferralPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘sword’, ‘SwordPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘roundedCorners’, ‘RoundedCornersPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘xmlGalley’, ‘XmlGalleyPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘translator’, ‘TranslatorPlugin’, 1, 1),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘browse’, ‘BrowsePlugin’, 1, 0),
(1, 1, 1, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘dataverse’, ‘DataversePlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘thesis’, ‘ThesisPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘lucene’, ‘LucenePlugin’, 1, 1),
(1, 2, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘staticPages’, ‘StaticPagesPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘objectsForReview’, ‘ObjectsForReviewPlugin’, 1, 1),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘googleViewer’, ‘GoogleViewerPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘piwik’, ‘PiwikPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘usageEvent’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.generic’, ‘stopForumSpam’, ‘StopForumSpamPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.implicitAuth’, ‘shibboleth’, ‘’, 0, 1),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘mets’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 0, ‘plugins.importexport’, ‘doaj’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘native’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘quickSubmit’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘duracloud’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘pubIds’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘erudit’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 0, ‘plugins.importexport’, ‘datacite’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘pubmed’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.importexport’, ‘users’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.oaiMetadataFormats’, ‘marc’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.oaiMetadataFormats’, ‘marcxml’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.oaiMetadataFormats’, ‘nlm’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.oaiMetadataFormats’, ‘rfc1807’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.oaiMetadataFormats’, ‘dc’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.paymethod’, ‘manual’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.paymethod’, ‘paypal’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.pubIds’, ‘doi’, ‘DOIPubIdPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.pubIds’, ‘urn’, ‘URNPubIdPlugin’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.reports’, ‘articles’, ‘’, 0, 0),
(1, 1, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.reports’, ‘counterReport’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.reports’, ‘reviews’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.reports’, ‘views’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.reports’, ‘timedViewReport’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.reports’, ‘subscriptions’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘night’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘lilac’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘classicBrown’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘blueSteel’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘desert’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘classicBlue’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘steel’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘classicNavy’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘vanilla’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘classicRed’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘custom’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘redbar’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘uncommon’, ‘’, 1, 0),
(1, 0, 0, 0, ‘2017-02-09 16:42:02’, 1, ‘plugins.themes’, ‘classicGreen’, ‘’, 1, 0),
(2, 4, 8, 1, ‘2017-02-09 16:42:01’, 0, ‘core’, ‘ojs2’, ‘’, 0, 1),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘htmlArticleGalley’, ‘HtmlArticleGalleyPlugin’, 1, 0),
(1, 1, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘googleScholar’, ‘GoogleScholarPlugin’, 1, 0),
(0, 1, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘citationStyleLanguage’, ‘CitationStyleLanguagePlugin’, 1, 0),
(1, 1, 2, 6, ‘2021-09-24 02:30:18’, 0, ‘plugins.generic’, ‘orcidProfile’, ‘OrcidProfilePlugin’, 1, 0),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘dublinCoreMeta’, ‘DublinCoreMetaPlugin’, 1, 0),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 0, ‘plugins.generic’, ‘lensGalley’, ‘LensGalleyPlugin’, 1, 0),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.generic’, ‘recommendBySimilarity’, ‘RecommendBySimilarityPlugin’, 1, 1),
(2, 1, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.importexport’, ‘crossref’, ‘’, 0, 0),
(1, 1, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.importexport’, ‘doaj’, ‘’, 0, 0),
(2, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.importexport’, ‘datacite’, ‘’, 0, 0),
(2, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.reports’, ‘reviewReport’, ‘’, 0, 0),
(1, 0, 0, 0, ‘2021-09-24 02:30:18’, 1, ‘plugins.themes’, ‘default’, ‘DefaultThemePlugin’, 1, 0),
(3, 2, 1, 4, ‘2021-09-24 02:28:46’, 0, ‘core’, ‘ojs2’, ‘’, 0, 1),
(1, 1, 2, 19, ‘2021-09-24 02:37:40’, 0, ‘plugins.generic’, ‘orcidProfile’, ‘OrcidProfilePlugin’, 1, 0),
(1, 0, 1, 0, ‘2021-09-24 02:37:40’, 1, ‘plugins.generic’, ‘lensGalley’, ‘LensGalleyPlugin’, 1, 0),
(3, 3, 0, 7, ‘2021-09-24 02:37:22’, 1, ‘core’, ‘ojs2’, ‘’, 0, 1),
(1, 1, 2, 22, ‘2023-04-06 08:33:04’, 1, ‘plugins.generic’, ‘orcidProfile’, ‘OrcidProfilePlugin’, 1, 0);

Seu banco realmente é da versão 3.3.0.7. O que não é um problema se vc estiver atualizando para a versão mais recente. Só achei estranho mesmo o banco ser de uma versão e o código de outra.

Sobre o plugin, ele serve pra personalizar as traduções, não vai adiantar pra vc pq está faltando aí o pacote básico de tradução, esse já vem com o sistema. Se não está aparecendo, ou vc precisa baixar e descompactar novamente o pacote da versão 3.3.0.14 no seu servidor ou verificar se as pastas atuais estão com as permissões corretas de leitura (o navegador não lê os arquivos corretamente e por isso não consegue apresentar o texto traduzido).

Te afirmo que é mais simples do que parece. Baixe novamente o pacote da versão 3.3.0.14, suba no servidor, descompacte substituindo tudo menos a pasta public, reconfigure os dados no novo config e veja se funciona.

1 curtida

@roniel, boa tarde,

já existe um tópico com a explicação dessas substituições de tradução. Veja aqui: Tradução x atualização #substituição de arquivo de tradução - #10 por bernardo

2 curtidas

Obrigado pelos apontamentos.

Fiz todos os procedimentos indicados. deu Tudo certo, a versão foi atualizada.

Agora tenho um pequeno problema. Eu não consigo ficar logado no sistema:
Quando logo aparece a mensagem e sou deslogado.
“Você não está autorizado para acessar o recurso solicitado.”

1 curtida

O log traz esse erro:
2023/04/16 21:07:55 [error] 286967#0: *2862 FastCGI sent in stderr: “PHP message: PHP Warning: session_regenerate_id(): Cannot regenerate session id - session is not active in /www/wwwroot/cabecs.com.br/lib/pkp/classes/session/SessionManager.inc.php on line 249” while reading response header from upstream, client: 172.68.219.130, server: cabecs.com.br, request: “POST /index.php/cabecs/login/signIn HTTP/2.0”, upstream: “fastcgi://unix:/tmp/php-cgi-74.sock:”, host: “cabecs.com.br”, referrer: “Acesso | Cadernos da Associação Brasileira de Ensino de Ciências Sociais

Resolvi este problema de forma bem fácil:
Editei o session_check_ip e coloquei Off.
Consegui resolver todos os problemas.

1 curtida

Resumo da solução:
1- Fiz backup de todo o sistema. Arquivos e e banco de dados.
2- Instalei a versão mais estável do sistema e testei o ambiente. Atualmente a 3.3.0-14 (https://pkp.sfu.ca/ojs/download/ojs-3.3.0-14.tar.gz)
3- Coloquei todos os arquivos e pastas de volta na raiz da instalação da ultima versão (public, files - arquivos das edições, config.inc)
4- Modifiquei o arquivo config.inc e apontei para o banco antigo.
5- Entrei no terminal via ssh e atualizei o banco de dados:
5.1- $php tools/upgrade.php check
5.2 $php tools/upgrade.php upgrade
Sistema atualizado e rodando liso.

2 curtidas

muito obrigado por retornar com o resumo da solução, @roniel! Com certeza vai ajudar bastante a comunidade!

:wink:

1 curtida