#11869 Delete fedora-sysadmins/mailman-coordination so it can be recreated
Closed: Fixed with Explanation 3 months ago by zlopez. Opened 9 months ago by salimma.

NOTE

If your issue is for security or deals with sensitive info please
mark it as private using the checkbox below.

Describe what you would like us to do:


Delete this Pagure project: fedora-sysadmins/mailman-coordination

I hit a known issue configuring a Board for it - Pagure chokes on boards with space in the name - and since it's still a new project I decided to delete and recreate it.

Except after deleting I can't recreate:

It is not possible to create the repo "fedora-sysadmins/mailman-coordination"

When do you need this to be done by? (YYYY/MM/DD)


2024/04/11


Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, low-trouble, ops

9 months ago

Huh. Is that the only error?

Mind if I try and create it?

ok for me to try and create a new one here?

So, I looked at this again. I also cannot make a new one.

Trying to delete it from the admin tool gives:

ERROR:pagure.lib.tasks:Failed to delete project: fedora-sysadmins/mailman-coordination from the DB                                                                                          
Traceback (most recent call last):                                                            
  File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/sync.py", line 114, in populate_dict   source, source.dict, l, passive=attributes.PASSIVE_OFF                                    
  File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/mapper.py", line 2775, in _get_state_attr_by_column              
    prop = self._columntoproperty[column]                                                     
  File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/mapper.py", line 3379, in __missing__                                                                                             
    % (column, self.mapper)                                                                   
sqlalchemy.orm.exc.UnmappedColumnError: No column board_statuses.id is configured on mapper mapped class BoardIssues->boards_issues...

So something to do with the kanban board? I guess we should file this as a upstream pagure issue?

I tried to rename those things with _ instead of spaces in the db but I guess I missed something, because it still won't delete.

Metadata Update from @zlopez:
- Issue assigned to zlopez

3 months ago

I was able to delete the project after removing all the related entries from board_statuses. The project is no longer in database, the removal itself threw error that the directory is missing, but that is expected as the project itself was already deleted.

Metadata Update from @zlopez:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

3 months ago

Log in to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog