Comments (5)
Hi - that sounds like an error from the API client end, rather than the CMS end. The error is raised when whichever client you are using (php oauth from the example project?) attempts to add a server to its list of connections.
You get the error because that should only be done once when the server is first registered.
If you take a look at your client database - any clear out the oauth tables, you should be able to start fresh.
from xibo.
Hey Dan
Thanks for getting back to me.
The API is working in Version 1.6 and I am aware how it is meant to be working.
I dug a little deeper. This was a FRESH install of 1.7 with a new database. Basically, installed it, logged in, and set up a Application Token.
Once that is done, if you visit:
/services.php?service=rest
In the Xibo app, you get a white page, with the message:
An upgrade is pending. Visit http://URL/xibo-cms/services.php.
I checked that message, and I could see the problem is, because my upgrade.php file is there.
This was told to be added when I first installed Xibo - but nothing since told me to delete it.
The problem we have, is that the application runs with upgrade.php, but the API checks it.
Line 78 of xmds.php
if (file_exists("upgrade.php")) {
// An upgrade is in progress. Just quit since the server
// won't be in a servicable state
die("An upgrade is pending. Visit " . Kit::GetURL() . ".");
}
It could be worth either removing this code, or removing the upgrade.php file after a successful install.
from xibo.
Hi Mike,
No problem - if it is a fresh installation, then we have an issue because upgrade.php
has been removed in 1.7.0-rc1 (or at least it should have been). I'll have a check and see if/why it is still there - it isn't in the source any longer, that is for certain.
The internals of an upgrade in 1.7 series will be slightly different in order to provide a better user experience when upgrading (within the full CMS, by any admin user, etc).
In any case, you can safely delete that file from your root folder and hopefully that allows you to proceed.
from xibo.
Thanks Dan - the installer looks for it at the initial step - you can't proceed without that file being created.
Thanks again.
from xibo.
You are entirely correct - how strange that didn't show up in the test installations (there have been many)! :)
I'll modify the install environment check so that it doesn't ask for that file any longer.
from xibo.
Related Issues (20)
- CMS v4: Number row data showing as string data on players
- Folders : Better represent inheritance
- Folders : Share multiple in one action
- Displays: nominate an initial folder
- Schedule: Not showing events on iPhone
- SAML/CAS: wrong logout link with SLO enabled
- Editor Multi-select: Use bottombar and keyboard to delete
- Editor Viewer: Shift brings background element to top
- Weather stencils
- Logging: XMDS logging no longer possible without player debug level
- DataSet: prior to selecting a dataset on a new dataset widget the layout is shown as valid
- Menu Board : Add always sets the folderId to user homeFolderId
- Connector: OpenWeather onecall 2.5 EOL
- Replacing media breaks elements
- Transitions: fly in/out direction is always East
- Pinned slot with repeat items skips the first item on the next page
- Calendar: Weekly and Monthly Calendar widgets display issue on webOS Player
- Weather Forecast: Display forecast incorrectly using default CMS coordinates instead of display coordinates
- Clock Widget: The alignment of the widget is not maintained when applied.
- Webpage: The player shows only partial rendering of the HTML content HOT 1
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 xibo.