instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.52k stars 2.45k forks source link

Verson Problem! #2048

Open Musicminion opened 2 years ago

Musicminion commented 2 years ago

我发现该项目中的很多分支实际上部署是有很多严重的问题的,例如最新版本的 prod,在我的机器上一旦执行到compile_asset步骤的时候就会出现各种 rake_aborted的错误,现在我更换了分支,stable/2021-11-10至少是一个可以部分部署成功的版本,但是在执行最后一步的时候,会发现sudo /etc/init.d/canvas_init start是无法执行成功的,因为会发现 bundler 的版本不匹配。

所以有人可以推荐一下这里面的哪些版本比较稳定吗(或者适合实际的生产应用)?我感觉这里面的版本都非常的混乱,不明所以,不断的有开发者上传文件,但是这些上传的文件可能有部分是错误或者不小心提交了的,导致在部署的时候这些版本都会导致问题。尽管部署是一件很麻烦的事情,但是还是希望开发者们在上传的时候测试一下部署的结果,或者对应的修改一下部署引导的文件,非常感谢!

期待有人能够推荐一些比较稳定的版本,感激不尽,当然也可以分享一些由于版本问题的bug,给更多人一个引导的作用!!!


I have found that many branchs in the project actually deploy a lot of serious problems, such as the latest version of prod, there will be a variety of Rake_aborted errors when executed on the compile_asset step on my machine, now I Change the branch, Stable / 2021-11-10 is at least one version that can be partially deployed, but when executing the last step, it will find that the sudo /etc/init.d/canvas_init start is the successful execution, because The version of the bundler will not match.

So someone can recommend which versions are more stable (or suitable for actual production applications)? I feel that this version is very confusing, unclear, constantly has developers upload files, but these uploaded files may be partially errors or accidentally submitted, resulting in these versions when they are deployed. Although deployment is a very troublesome thing, it is still hoped that developers test the result of the deployment, or the corresponding modification of the files that are deployed, thank you very much!

I look forward to someone can recommend some relatively stable versions, grateful, and of course you can share some Bugs of the version, give more people a guided role! ! !


私はプロジェクト内の多くの骨が実際にはたくさんの深刻な問題を展開していることを発見しました。 、STABLE / 2021-11-10は、部分的に展開できるバージョンは少なくとも1つですが、最後のステップを実行すると、 sudo /etc/init.d/canvas_init startが成功した実行であることがわかります。 bundlerのバージョンが一致しません。

だから誰かがどのバージョンがより安定しているか(または実際の生産アプリケーションに適しています)を推奨することができますか?私はこのバージョンが非常に混乱していると感じていますが、常に開発者のアップロードファイルをアップロードすると思いますが、これらのアップロードされたファイルは部分的にエラーまたは誤って送信されている可能性があり、それらがデプロイされたときにこれらのバージョンになります。デプロイメントは非常に面倒なことですが、開発者が展開の結果をテストすること、または展開されているファイルの対応する変更が非常に厄介であることが依然としてあります。

私は誰かがいくつかの比較的安定したバージョン、感謝することをお勧めします。もちろん、あなたはバージョンのいくつかのバグを共有することができます、より多くの人々に導かれた役割を与えることができます! ! !


J'ai constaté que de nombreux os dans le projet déploient réellement beaucoup de problèmes graves, tels que la dernière version de Prod, il y aura une variété d'erreurs RAKE_ABORTED lorsqu'il sera exécuté sur l'étape Compile_Asset sur ma machine, je change maintenant la succursale. , Stable / 2021-11-10 est au moins une version qui peut être partiellement déployée, mais lors de l'exécution de la dernière étape, il constatera que le sudo /etc/init.d/canvas_init start est l'exécution réussie, car la La version du Bundler ne correspondra pas.

Donc, une personne peut recommander quelles versions sont plus stables (ou adaptées aux applications de production réelles)? Je pense que cette version est très déroutante, peu claire, a constamment des développeurs télécharge des fichiers, mais ces fichiers téléchargés peuvent être partiellement erreurs ou soumis accidentellement, ce qui a entraîné ces versions lorsqu'elles sont déployées. Bien que le déploiement soit une chose très gênante, il est toujours espéré que les développeurs testent le résultat du déploiement ou de la modification correspondante des fichiers déployés, merci beaucoup!

J'attends avec impatience que quelqu'un puisse recommander des versions relativement stables, reconnaissant, et bien sûr, vous pouvez partager des bugs de la version, donner plus de personnes un rôle guidé! ! !


Ich habe festgestellt, dass viele Knochen im Projekt tatsächlich viele ernsthafte Probleme bereitstellen, wie z. B. die neueste Version von prod, es wird eine Vielzahl von Rake_Aborted-Fehlern geben, wenn auf dem compile_asset-Schritt auf meinem Computer ausgeführt wird. Jetzt ändere ich den Zweig , Stabil / 2021-11-10 ist mindestens eine Version, die teilweise bereitgestellt werden kann, aber beim Ausführen des letzten Schritts wird festgestellt, dass der Start von 'sudo /etc/init.d/canvas_init` die erfolgreiche Ausführung ist, da die Die Version des "Bundlers" wird nicht übereinstimmen.

Also kann jemand empfehlen, welche Versionen stabiler sind (oder für tatsächliche Produktionsanwendungen geeignet)? Ich habe das Gefühl, dass diese Version sehr verwirrend ist, unklar ist, ständig Entwickler-Dateien hochladen, aber diese hochgeladenen Dateien können jedoch teilweise Fehler sein oder versehentlich eingereicht werden, was zu diesen Versionen führt, wenn sie eingesetzt werden. Obwohl der Einsatz eine sehr lästige Sache ist, ist es immer noch gehofft, dass Entwickler das Ergebnis der Bereitstellung testen, oder die entsprechende Änderung der bereitgestellten Dateien, danke sehr viel!

Ich freue mich auf jemanden, der einige relativ stabile Versionen, dankbar empfehlen kann, und natürlich können Sie einige Fehler der Version teilen, mehr Menschen eine geführte Rolle geben! Schnitte Schnitte

amg-web commented 2 years ago

You do something wrong

Musicminion commented 2 years ago

You do something wrong

Absolutely there must be something wrong, but as you can see, with so many issues there, bug and problems must exist without doubt, I will appriciate if you can helm me with this problems: https://github.com/instructure/canvas-lms/issues/2047

an280420 commented 2 years ago

I got the same issue. This helped me

sudo bundle exec /etc/init.d/canvas_init start

But besides this, there are other problems. So the migrations did not go through, there is also no access to read files from the Amazon bucket. I can write a file, but I can’t read and delete it from the bucket. I also think that with the older version there will probably be less problems.

donoversea commented 2 years ago

understood and I ran into the same mess. The offical document is far from perfect but there is some work around that can help you at least pass the asset compling stage. I used the 2022-4-13 prod release and big thanks to @amg-web I finally tuned my installation to working condition. I suggest first go through your config files to see if there's any misconfigs and then browse amg-web's postings

Musicminion commented 2 years ago

As you can see, the offical document may be outdated, and the branches are in a mess as far as I am concerned. Developers may install one works fine, and in later time, they update their package or some others, however. they just update their code directly without rewrite some lockfile, or sometimes they submit their code by mistake, all of these reasons resuilt in such a situation!

my video about install, hopefully it can help those who in trouble if you watch it in a 0.5x speed! https://www.bilibili.com/video/BV19B4y1U7T5

amg-web commented 2 years ago

@Musicminion not so simple you can get different result using different ruby builds or different ubuntu versions.

but I agree Production start contain errors:

dandeto commented 2 years ago

@amg-web Would you be willing to edit the wiki page with that info?