YunoHost-Apps / castopod_ynh

Castopod package for YunoHost
https://podlibre.org/
GNU General Public License v3.0
23 stars 7 forks source link

Edit Podcast Status #98

Closed DDRrayray2012 closed 1 year ago

DDRrayray2012 commented 1 year ago

Describe the bug

Clicking "Prevent podcast from being copied" switch and saving produces unknown error and does not identify the error.

Context

Steps to reproduce

Clicking "Prevent podcast from being copied" switch and saving produces unknown error and does not identify the error.

Expected behavior

Being able to change the "Prevent podcast from being copied" switch and saving it.

Logs

Unable to pull logs specific to castopod. Application page for castopod within Yunohost also produces an error (see below) Error: "500" Action: "GET" /yunohost/api/apps/castopod/config?full&locale=en

Error message: Config panel question 'free_footprint' should be initialized with a value during install or upgrade.

ericgaspar commented 1 year ago

I can't reproduce the issue. If you want to have the debug mode on, you need to add this CI_ENVIRONMENT="development" to the /var/www/castopod/.env file.

DDRrayray2012 commented 1 year ago

Done! Here's what was output. mysqli_sql_exception.pdf

DDRrayray2012 commented 1 year ago

If there’s any other info you need, please let me know! I’m happy to provide whatever you need.

ericgaspar commented 1 year ago

Did you upgrade from the beta version?

Edit: most of the issues with Castopod come from user upgrading from beta version to the finale release. The database has been evolving from version to version. User should have made a clean install to have an up-to-date database with the finale release instead of upgrading, (and the package should have force to do so, which it didn't 😬)

DDRrayray2012 commented 1 year ago

I'm currently on 1.0.0-beta.19 (1.0.0-99~ynh2) of castopod. I've tried updating to the 1.1.2~ynh2 version, but when I do, I am unable to log into the cp-admin. So I've had to restore my backup of the 1.0.0-99~ynh2 version.

DDRrayray2012 commented 1 year ago

I was actually going to install another instance of Castopod (on a separate domain) and import my current one, but since I had the Prevent podcast from being copied switch turned on, and it's causing an error trying to turn it off and save, I'm a little stuck.

DDRrayray2012 commented 1 year ago

Is there anything i can do to fix this? I’d like to migrate the data from this instance of castopodto a fresh install of the current version, but I’m not sure how to do that without being able to import from this instance.

DDRrayray2012 commented 1 year ago

I was able to delete my previous version of castopod and transfer the episodes to a current version of castopod. I was able to backdate the schedule publication of the episode and everything seems to be working properly now. If anyone else needs to do this, just copy your episode information down and install a new instance of castopod and you can re-create your page from there. Hope this helps.