GithubHelp home page GithubHelp logo

Comments (13)

cweiske avatar cweiske commented on July 29, 2024

There is no upgrade guide since I don't have any experience doing upgrades with it. I only use the developer version locally.

You could try to delete all tokens in the tokens table and perform the upgrade again. This could make it work.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

I could modify the database definition to set a default value for client.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

@jukeyju - edit app/database.xml and add <default></default> in the token_client field. Does that help?

Then you do not need to remove the existing tokens.

from nextcloud-grauphel.

jukey avatar jukey commented on July 29, 2024

Hi Christian,

tanks for you fast answers. I checkd the owncloud/app directory but there seems to be no database.xml.

However I found the database.xml in owncloud/app/grauphel/appinfo/ but I don't know exactely what do you mean by:

add <default></default> in the token_client field

Maybe you can show me what you mean by answering here? :-)

Thanks a lot, Uwe

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

Currently it looks like this:

            <field>
                <name>token_client</name>
                <type>text</type>
                <notnull>true</notnull>
                <length>256</length>
            </field>

Change it to this:

            <field>
                <name>token_client</name>
                <type>text</type>
                <notnull>true</notnull>
                <default></default>
                <length>256</length>
            </field>

from nextcloud-grauphel.

jukey avatar jukey commented on July 29, 2024

I did the described changes but it doesen't help. I am getting ecxactely the same error message as written above.

Are there information regarding apps stored somewher else? Because I do not do a real upgrade as I deleted the whole folder and extracted your latest version. This sounds more like a fresh and clean installation so I am wondering that you don't get the same error at your installation...

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

Now also edit appinfo/version and change 0.4.0 to 0.4.1, and do the same in info.xml. Try to upgrade again.

from nextcloud-grauphel.

jukey avatar jukey commented on July 29, 2024

I did but got the same error message as before. If you have further ideas please let me know I would love to try them as well. Thanks a lot.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

Sorry, I have no more ideas.

Just delete all entries in the tokens table. You have to re-authenticate with all devices then.

from nextcloud-grauphel.

jukey avatar jukey commented on July 29, 2024

Hi, I assume the entries should be part of the database.xml file as well?

As I wrote I used your fresh tar.bz2 package that does not contain any token or data I was using before. And I got the error message anyway. :-(

For that reason I am asking if tokens are stored somewhere else. Do you have an Idea where? I assume next time I should deaktivate the app on the owncloud admin page first and unpack the new version afterwards.

How do you upgrade your local installation for testing reason when there is a new version or test candidate?

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

As I wrote I used your fresh tar.bz2 package that does not contain any token or data I was using before. And I got the error message anyway. :-(

You still have the database tables and data in them that you used in 0.2

For that reason I am asking if tokens are stored somewhere else.
In the database. The XML contains the structure only.

How do you upgrade your local installation for testing reason when there is a new version or test candidate?
The same way as you. But I upgraded to 0.3 in the meantime.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024
$ sqlite /path/to/owncloud/data/owncloud.db
DELETE FROM oc_grauphel_oauth_tokens;

from nextcloud-grauphel.

jukey avatar jukey commented on July 29, 2024

Thank you very much! It worked like a charm so this issue is solved for me. :-)

from nextcloud-grauphel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.