Solicitado pelo Dashboard, que informou que 3.2.0.beta4 era uma atualização urgente, mas esta falhou ao compilar.
Solicitado pela mensagem de erro, fui direcionado a verificar
bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log
Isso estava compilando msgpack, com o seguinte erro:
LD_LIBRARY_PATH=.:/usr/local/lib \"./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/ --libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/lib\"
ls: cannot access '.': Operation not permitted
configure: error: working directory cannot be determined
Ajuda por favor! Eu preferiria não reconstruir a partir do backup.
Editar:
Executei git pull e ./launcher rebuild app.
merefield
(Robert)
Janeiro 11, 2024, 10:53am
2
Você é capaz/está disposto a reconstruir em tests-passed? Suspeito que a última tag beta foi impactada por este erro de dependência “transiente” que já foi resolvido no mais recente. Ou então, esperar pela próxima beta e apenas reiniciar seu contêiner e aguardar?
For the past few weeks or so, we cannot rebuild our Discourse forum software.
Each time, we get this Bundler error:
occurred while installing rbtrace (0.5.1), and Bundler cannot continue.
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 541 exit 5>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the pa…
Como faço para mudar para tests-passed?
merefield
(Robert)
Janeiro 11, 2024, 11:02am
4
Editar app.yml para
version: tests-passed
então reconstruir
1 curtida
merefield
(Robert)
Janeiro 11, 2024, 11:12am
6
Valia a pena tentar, isso exigirá mais pesquisa. Esta gema tendo estado envolvida em muitas compilações falhadas recentemente é suspeita.
merefield
(Robert)
Janeiro 11, 2024, 11:14am
7
Sim, esta é a versão atual:
~/discourse$ gem info rbtrace
*** GEMS LOCAIS ***
rbtrace (0.5.1, 0.5.0, 0.4.14)
merefield
(Robert)
Janeiro 11, 2024, 11:16am
8
Ok, então acho que o rbtrace pode estar dependendo da modernidade do sistema operacional de fundo por algum motivo, veja este conselho:
Debian 9 has been superseded by Debian 10 (“buster”). Security updates have been discontinued as of July 6th, 2020.
You may want to take your backup and migrate to a new server running a current OS version.
Portanto, parece que o conselho é migrar para um novo servidor para agilizar a atualização do sistema operacional.
3 curtidas
Essa é a imagem ou a base do Ubuntu que precisa ser atualizada?
merefield
(Robert)
Janeiro 11, 2024, 11:18am
10
Eu li isso como Ubuntu base.
Para constar, em que versão você está? (pode ajudar outros)
2 curtidas
Bem-vindo ao Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-169-generic x86_64)
Farei um upgrade de versão para ver se isso ajuda.
1 curtida
merefield
(Robert)
Janeiro 11, 2024, 11:22am
12
Curiosamente, eu não tive problemas no Jammy (@JammyDodger aha)
:/var/discourse/containers# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Arrgh!
Desculpe, este driver de armazenamento não é suportado em kernels para versões mais recentes
Não haverá mais lançamentos do Ubuntu que forneçam suporte de kernel para o driver de armazenamento aufs.
Certifique-se de que nenhum dos seus contêineres esteja usando o driver de armazenamento aufs, remova o diretório /var/lib/docker/aufs e tente novamente.
Como altero o driver de armazenamento?
1 curtida
merefield
(Robert)
Janeiro 11, 2024, 11:33am
14
Alguém escreveu um guia útil:
Hello all,
I have been using Docker with the Devicemapper storage driver. After manually editing the launcher script, I finally took the time to convert to Overlay2. Here are the instructions I took to do this. I hope this helps others. I see others have asked the question , but I don’t see any answers. I used this excellent guide to help figure this out.
Step 1: Halt your Discourse application (and other docker apps)
./launcher stop app
Step 2: Commit and save your old Docker containers/image…
2 curtidas
Segui este conselho e agora estou de volta e funcionando. Obrigado @merefield pela sua ajuda.
1 curtida
system
(system)
Fechado
Fevereiro 10, 2024, 2:40pm
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.