!vVcsnwMNPHhwWsmXST:matrix.org

📣 Support Devs

244 Members
technical staff here!9 Servers

Load older messages


SenderMessageTime
10 Sep 2024
@sdelcroix:matrix.orgsdelcroix * So I don't need to "clean" them ?17:24:11
@sdelcroix:matrix.orgsdelcroix * I wanted to delete the orphan ones and rerun the upgrade tasks with clean records17:26:06
@sdelcroix:matrix.orgsdelcroix * I wanted to delete the orphan ones and rerun the upgrade tasks with clean records in DB17:26:27
@telegram_500738289:t2bot.ioAlexandru LupuU can ignore them IMO17:17:42
@telegram_500738289:t2bot.ioAlexandru Lupu
In reply to @sdelcroix:matrix.org
I don't know if the tasks have processed the "good" comments
I would say that everything has been processed ... The error handling is per record ... which means that if you'd encounter an error ... you would not see the next records ( like 16, 17, 18 ... )
17:31:11
@telegram_500738289:t2bot.ioAlexandru Lupu
In reply to @sdelcroix:matrix.org
I don't need to "clean" them ?
not quite
17:17:31
@sdelcroix:matrix.orgsdelcroixOK, and if I want to, can I just delete them with rails console ? If yes, could you give a safe command please ? :)17:33:19
@sdelcroix:matrix.orgsdelcroix * OK, and if I want to, can I just delete them with rails console ? If yes, could you give me a safe command please ? :)17:33:29
@sdelcroix:matrix.orgsdelcroix * OK, thanks. And if I want to, can I just delete them with rails console ? If yes, could you give me a safe command please ? :)17:34:34
@telegram_500738289:t2bot.ioAlexandru Lupu** I don't think i wrote it to be understandable ... but if the script would encounter an error at record 15, and it would have stopped, then you would not see the next records17:33:28
@telegram_500738289:t2bot.ioAlexandru Lupu
In reply to @sdelcroix:matrix.org
OK, and if I want to, can I just delete them with rails console ? If yes, could you give a safe command please ? :)
TBH i would not remove them ... is a bigger hassle ( you need to remove action logs, notifications, reports etc ... )
17:34:34
@sdelcroix:matrix.orgsdelcroix
In reply to @telegram_500738289:t2bot.io
** I don't think i wrote it to be understandable ... but if the script would encounter an error at record 15, and it would have stopped, then you would not see the next records
Yes, don't worry, it was understandable and I've understood ;) It just worries me to have orphan records ^^ But allright, I'll follow your advices. Thanks for everything !
17:49:33
@sdelcroix:matrix.orgsdelcroix
In reply to @telegram_500738289:t2bot.io
** I don't think i wrote it to be understandable ... but if the script would encounter an error at record 15, and it would have stopped, then you would not see the next records
* Yes, don't worry, it was understandable and I've understood ;) It just worries me to have orphan records. I like to have the much clean DB I can ^^ But allright, I'll follow your advices. Thanks for everything !
17:50:06
11 Sep 2024
@hhassig:matrix.orghhassig joined the room.12:12:05
@zahid208-6219151a6da0373984910ee6:gitter.imzahid208 (Muhammad Zahid) joined the room.17:41:19
17 Sep 2024
@telegram_392356408:t2bot.ioPau Paralshi guys, I wanted to ask if anyone is having problems with the hero images (conference, assemblies, processes, initiatives) suddenly not being displayed. in 0.28.1 we haven't found this problem, but from 0.28.2. has anyone had the same thing happen?09:07:59
@scicent:matrix.orgRichard LeonovI see lots of languages in /locales but I don't see them as an option in the list of languages in a running app. How do I add a language? 11:22:12
@scicent:matrix.orgRichard Leonov set a profile picture.11:24:23
@scicent:matrix.orgRichard Leonov changed their display name from Arkadiy Plekhanov to Richard Leonov.11:24:49
@hfroger:matrix.orgHadrien Froger

It depends on several things:

  • The Decidim.available_locales
  • Your organization localesDecidim::Organization.pluck(:name, :available_locales) (a subset of Decidim.available_locales)

For Decidim.available_locales: check decidim.yml config file, or environment (DECIDIM_AVAILABLE_LOCALES) - https://docs.decidim.org/en/develop/configure/environment_variables.html

For organization available locales, check /system, you should be able to configure them from there

11:26:19
@hfroger:matrix.orgHadrien Froger *

It depends on two things:

  • The Decidim.available_locales
  • Your organization localesDecidim::Organization.pluck(:name, :available_locales) (a subset of Decidim.available_locales)

For Decidim.available_locales: check decidim.yml config file, or environment (DECIDIM_AVAILABLE_LOCALES) - https://docs.decidim.org/en/develop/configure/environment_variables.html

For organization available locales, check /system, you should be able to configure them from there

11:26:27
@hfroger:matrix.orgHadrien Froger *

It depends on two things:

  • The Decidim.available_locales
  • Your organization locales. Decidim::Organization.pluck(:name, :available_locales) (a subset of Decidim.available_locales)

For Decidim.available_locales: check decidim.yml config file, or environment (DECIDIM_AVAILABLE_LOCALES) - https://docs.decidim.org/en/develop/configure/environment_variables.html

For organization available locales, check /system, you should be able to configure them from there

11:26:35
@hfroger:matrix.orgHadrien Froger *

It depends on two things:

  • The Decidim.available_locales
  • Your organization locales. Decidim::Organization.pluck(:name, :available_locales) (a subset of Decidim.available_locales)

For your org .available_locales : check decidim.yml config file, or environment (DECIDIM_AVAILABLE_LOCALES) - https://docs.decidim.org/en/develop/configure/environment_variables.html

For organization available locales, check /system, you should be able to configure them from there

11:27:28
@hfroger:matrix.orgHadrien Froger *

It depends on two things:

  • The Decidim.available_locales
  • Your organization locales. Decidim::Organization.pluck(:name, :available_locales) (a subset of Decidim.available_locales)

For your Decidim.available_locales : check decidim.yml config file, or environment (DECIDIM_AVAILABLE_LOCALES) - https://docs.decidim.org/en/develop/configure/environment_variables.html

For organization available locales, check /system, you should be able to configure them from there

11:27:44
@scicent:matrix.orgRichard LeonovPerfect, thank you! 🤝11:27:54
@telegram_500738289:t2bot.ioAlexandru LupuThe languages needs to be set in the config/initializers/decidim.rb , and you can choose any of them when you create the organization11:24:14
@hfroger:matrix.orgHadrien Froger

You are welcome, if your org have already some contents and you change your locale, I would recommend to rebuild the search index after you did make the change.

bundle exec rake decidim:locales:sync_all

https://docs.decidim.org/en/develop/develop/fixing_locales.html

11:32:24
@hfroger:matrix.orgHadrien Froger *

You are welcome, if your org have already some contents and you change your locale, I would recommend to rebuild the search index after you did make the change.

bundle exec rake decidim:locales:sync_all
and
bundle exec rake decidim:locales:rebuild_search
https://docs.decidim.org/en/develop/develop/fixing_locales.html

11:33:28
@telegram_500738289:t2bot.ioAlexandru Lupu
In reply to @hfroger:matrix.org

You are welcome, if your org have already some contents and you change your locale, I would recommend to rebuild the search index after you did make the change.

bundle exec rake decidim:locales:sync_all

https://docs.decidim.org/en/develop/develop/fixing_locales.html

Hadrien, i am not familiar with sync_all , but reading the code, that is ok only when removing locales ... or i have read it wrong ?
11:37:14
18 Sep 2024
@hfroger:matrix.orgHadrien FrogerHi Pau, no I didn't see this error in these versions. We did have this issue in early version of 0.26, where the update of the hero image didn't update well the cache somehow. If you clean the cache with Rails.cache.clear, the images appear?04:09:26

Show newer messages


Back to Room ListRoom Version: 6