[Pulp-list] sqlite3.DatabaseError: file is encrypted or is not a database

Gravel Bone gravelbone at gmail.com
Wed Jun 10 12:14:22 UTC 2020


Thanks,

Unfortunately, that didn't work either.   I ended up just deleting the
repo, deleting the orphans, recreating the repo and it seemed to work after
that.   Earlier I didn't do the orphan purge between the deletion and
creation.

Now to figure out why the URLs created are incorrect.


On Tue, Jun 9, 2020 at 8:36 AM Ina Panova <ipanova at redhat.com> wrote:

> I am not familiar with this traceback. One of the solutions could be to
> disable repoview and see if publish succeeds.
>
>
> https://docs.pulpproject.org/en/2.21/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=repoview
>
>
> --------
> Regards,
>
> Ina Panova
> Senior Software Engineer| Pulp| Red Hat Inc.
>
> "Do not go where the path may lead,
>  go instead where there is no path and leave a trail."
>
>
> On Sat, Jun 6, 2020 at 2:16 AM Gravel Bone <gravelbone at gmail.com> wrote:
>
>> One of my repos is throwing this error:
>>
>> Generating HTML files
>> [/]
>>
>> Task Failed
>>
>> Error occurred during 'repoview' execution: Examining repository...done
>> Opening
>> primary database...done
>> Opening changelogs database...done
>> Parsing
>> comps.xml...done
>> Examining state db...done
>> Collecting
>> letters...done
>>
>> ::
>> Traceback (most recent call last):
>>   File
>> "/usr/bin/repoview", line 940, in <module>
>>     main()
>>   File
>> "/usr/bin/repoview", line 937, in main
>>     Repoview(opts)
>>   File
>> "/usr/bin/repoview", line 191, in __init__
>>     packages =
>> self.do_packages(repo_data, group_data, pkgnames)
>>   File "/usr/bin/repoview",
>> line 544, in do_packages
>>     pkg_data = self.get_package_data(pkgname)
>>   File
>> "/usr/bin/repoview", line 500, in get_package_data
>>
>> ocursor.execute(query)
>> sqlite3.DatabaseError: file is encrypted or is not a
>> database
>>
>> I tried deleting the repo and recreating it, I've checked the disk space,
>> checked SELinux, stop and started the services, updated pulp to latest 2
>> stable release and associated other packages...searching on Google I can
>> see things regarding the error, but it's not related to pulp, and I'm
>> hesitant to just go find the file and try things...not that it matters...
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/pulp-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200610/5ca28849/attachment.htm>


More information about the Pulp-list mailing list