Comments (13)
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.
I could modify the database definition to set a default value for client.
from nextcloud-grauphel.
@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.
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 thetoken_client
field
Maybe you can show me what you mean by answering here? :-)
Thanks a lot, Uwe
from nextcloud-grauphel.
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.
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.
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.
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.
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.
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.
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.
$ sqlite /path/to/owncloud/data/owncloud.db
DELETE FROM oc_grauphel_oauth_tokens;
from nextcloud-grauphel.
Thank you very much! It worked like a charm so this issue is solved for me. :-)
from nextcloud-grauphel.
Related Issues (20)
- Logging error Declaration of OCA\Grauphel.. must be compatible.. HOT 1
- Please update for NextCloud 15 HOT 3
- App gets disabled periodically from Nextcloud HOT 21
- Please update for NextCloud 16 HOT 28
- Nextcloud 17 HOT 3
- Switch to changelog format recognized by apps.nextcloud.com HOT 3
- Sync with Tomboy/Tomdroid works on WiFi but not over 4G mobile network - HTTP/1.1 401 Unauthorized HOT 3
- please update for Nextcloud 19 and 20 HOT 6
- Unified search implementation (Nextcloud 20) HOT 5
- Support Request: oauth failure HOT 2
- app.php is deprecated (NextCloud 20) HOT 2
- Unknown token: temp / HOT 5
- Seeking new maintainer (or funding for standalone version) HOT 5
- cannot be installed on Nextcloud 23: "The appinfo/database.xml file is not longer supported" HOT 3
- app.php is not loaded... HOT 6
- Install error Unknown column type "timestamp" requested HOT 5
- nextcloud 20 update to 1.0.1 not possible HOT 10
- Doctrine error installing 1.06 on Nextcloud 23 HOT 1
- Cannot Log-in or add client (error 500) HOT 3
- Cannot install from appstore on NC24 or NC25
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-grauphel.