CSGHub icon indicating copy to clipboard operation
CSGHub copied to clipboard

编译的csghub-portal镜像代码报错

Open leipeizhao opened this issue 1 year ago • 3 comments

docker logs 错误日志如下:


rails aborted!
ArgumentError: After save callback :sync_to_starhub_server has not been defined (ArgumentError)

                raise ArgumentError, "#{type.to_s.capitalize} #{name} callback #{filter.inspect} has not been defined"
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/myapp/db/seeds.rb:2:in `<main>'
Tasks: TOP => db:seed
(See full trace by running task with --trace)

leipeizhao avatar Aug 08 '24 06:08 leipeizhao

@leipeizhao 您好,sync_to_starhub_server 在代码中并没有真正使用 ,请问您是在使用官方 docker 镜像的时候得到的如上报错吗?

pulltheflower avatar Aug 08 '24 12:08 pulltheflower

@leipeizhao您好,sync_to_starhub_server 在代码中并没有真正使用,请问您在使用官方 docker 镜像的时候得到的如上报错吗?

不是,使用的最新的代码自已编译的docker镜像

leipeizhao avatar Aug 09 '24 02:08 leipeizhao

@leipeizhao 最新的代码已经修复了这个问题,但是最新的官方镜像还没有提供

hiveer avatar Aug 09 '24 02:08 hiveer