Can't create / fork repositories after upgrade to 4.10.5

After upgrade to 4.10.5 from 4.9.0 I can’t create new repositories or forks from existing repositories
I get the error:

404 Not Found | The resource could not be found. Or you don’t have permission to access it.

This is the log:

2017-11-30 15:05:16.079 INFO  [rhodecode.lib.auth] user <AuthUser('id:2[admin] ip: auth:True')> authenticating with:RHODECODE_AUTH IS authenticated on func AdminReposView:repository_create
2017-11-30 15:05:16.288 INFO  [rhodecode.lib.celerylib] running task 43b75a0d-842d-4015-8079-8ddc7d225796:<@task: rhodecode.lib.celerylib.tasks.create_repo>
2017-11-30 15:05:16.290 INFO  [rhodecode.lib.middleware.request_wrapper] IP: Request to /_admin/repos/create time: 0.324s
2017-11-30 15:05:16.372 INFO  [rhodecode.lib.middleware.request_wrapper] IP: Request to /Prueba23/repo_creating time: 0.069s

Any idea?

I try to downgrade to 4.9.0 using this tutorial but it doesn’t work, I don’t have a backup of the database

The 404 is just a problem with refresh. The forks/repositories are actually being created. The check page gives 404 we’ll soon submit a bugfix release for this.

The repositories are not created, i didnt found them in repos directory.
I solved the problem disabling Celery.
Im not sure when this problem appears, may be it comes from a previous update. I enabled Celery some months ago in version 4.7 or 4.8

Ahh yes in case celery is enable those tasks are created as async. Then if celery workers aren’t running nobody is “picking up” those tasks to execute.

1 Like