mixman68
(Mixman68)
Janeiro 14, 2024, 7:28pm
1
Olá a todos,
Acabamos de fazer o upgrade de 2 para 3 no nosso discourse,
Está padrão sem plugins, exceto o docker_manager
Tenho este erro no lado do cliente:
Nada no lado do servidor. Posso entrar no modo seguro sem plugins apenas.
Mas não consigo determinar qual configuração está causando este problema.
Vocês podem me ajudar, por favor.
Editar: Já deletei todos os componentes de tema, então estou no tema totalmente padrão.
1 curtida
Olá, bem-vindo
Há um problema e temo que você precisará reconstruir seu fórum a partir do console:
Hello,
I am having an issue with MY FORUM where it’s just continuously loading. I did update the docker today and that seems to be what is causing the issue but I don’t know if/how I can revert that. I’m able to access the site in safe mode and have disabled all plugins, elements, and themes but it still won’t load out of safe mode . Any guidance would be appreciated. Thanks!
[Screenshot 2024-01-13 143857]
3 curtidas
mixman68
(Mixman68)
Janeiro 14, 2024, 7:54pm
4
Obrigado pela resposta rápida
Preciso desabilitar o plugin no yaml?
Porque eu nunca atualizo pelo gerenciador do docker
Eu fiz ./launch rebuild app
1 curtida
Não é necessário desativar o plugin; reconstruir para atualizar o Discourse deve ser suficiente!
1 curtida
mixman68
(Mixman68)
Janeiro 14, 2024, 8:13pm
6
Quando entro no modo de segurança, após a reconstrução, estou no Discourse 3.1.4 e ainda não consigo carregar o fórum.
mixman68
(Mixman68)
Janeiro 14, 2024, 8:38pm
7
Olá de volta, verifiquei, na versão estável (3.1.4), a API de plugins é 1.8.0, talvez eu precise especificar algo para o docker_manager para ficar em sintonia com o Discourse 3.1.4
import { registerModelTransformer } from "discourse/lib/model-transformers";
import { registerCustomUserNavMessagesDropdownRow } from "discourse/controllers/user-private-messages";
import { registerFullPageSearchType } from "discourse/controllers/full-page-search";
import { registerHashtagType } from "discourse/lib/hashtag-autocomplete";
import { _addBulkButton } from "discourse/components/modal/topic-bulk-actions";
// If you add any methods to the API ensure you bump up the version number
// based on Semantic Versioning 2.0.0. Please update the changelog at
// docs/CHANGELOG-JAVASCRIPT-PLUGIN-API.md whenever you change the version
// using the format described at https://keepachangelog.com/en/1.0.0/.
export const PLUGIN_API_VERSION = "1.8.0";
// This helper prevents us from applying the same `modifyClass` over and over in test mode.
function canModify(klass, type, resolverName, changes) {
if (!changes.pluginId) {
// eslint-disable-next-line no-console
console.warn(
consolePrefix(),
"To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once."
);
return true;
Mas como especifico uma tag específica no comando do plugin?
Don
Janeiro 14, 2024, 9:12pm
8
3 curtidas
mixman68
(Mixman68)
Janeiro 14, 2024, 11:59pm
9
Esta solução alternativa funciona bem, obrigado
1 curtida
Postando isso aqui também, o commit problemático foi revertido:
My apologies everyone, I must have overlooked something as part of my testing for this change. I have reverted it here, that should solve the issue:
1 curtida
system
(system)
Fechado
Fevereiro 14, 2024, 9:36am
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.