Dashboard for Nextcloud by flost and Holger (was: Anyone in for an Overview / Dashboard / Start page app?)

and we are happy too :slight_smile:

@nickvergessen
First of all: Great nickname, Nicįø±;-)
I have not looked closer at the api, but it seems to work. Have you watched the video from the beginning of the thread? Florian explains what needs to be done.
I will help wherever possible.
And be sure: I will install every single app which provides a widget for this dashborad!!! - Eh - at least for testing purposes;-)

Holger

@Holger_Dehnhardt very true, thanks for the heads up! Flost was ofc mentioned in the original post, but I must have edited once to often :blush:

I reworded title and text againpaying myrespect. (Flost/Florian: in case you read this: Thanks heaps for all your work. Kudos to you :slight_smile:)

Thanks John, this sounds good now!

@John: can you confirm solution to your issue works so I can close it?

Yes. I deleted the max-version string in appinfo/info.xml, deactivated the app and reactivated it again. It still works fine. Alas, the string seems not to be required.

Itā€™s just: I donā€™t know, if this will be an error in future versions of NC pretty much like a missing min- and max-version string for NC will be.

pinging @LukasReschke: any plans on that? Or is it safe to not set a max-php-version?

If it turns out, that we need to set a max-version: my php version the app runs fine with is 7.0.6

John

For NC version you should use 9.1, the php version can be omitted.
You can look at official apps to see examples:


or you look at the docs:
https://docs.nextcloud.org/server/9/developer_manual/app/info.html#dependencies

I did two things today:

  • I made a fresh install of nextcloud with MySQL to see if I can reproduce the error John had with the dashboard installation.
    I was not able to reproduce it, so it must have something to do with Johns setup.
  • I made my first beta release on GitHub, after I wrote a small ā€œhowto use the apiā€ in the README.md.

Hopefully there will be some developers who test out the api.

When I try to activate Dashboard I got this error message Error: this app cannot be enabled because it makes the server unstable

How can I solve this?

Where did you download it from?
The right version is on GitHub

@BernhardPosselt
I would like to upload my beta version to the appstore / ab appstore but I must confess that I did not understand, which appstore!
Is there already an appstore and where can I find it and where can I get the login information from or do I have to set up my own appstore?

Holger

To the best of my knowledge, there is no NC appstore yet. But I might stand corrected.

The installation of version 1.9.1 beta works for me: after activating Iā€™m forwarded to a update page and all wents smoothly.

One thing I noticed: I cannot configure the clock widget. Clicking on settings has no respsonse whatsoever. Bitcoin settings for example works.

I have configured my clock as double size widget (1x2) May this cause a problem? Settings of other 1x1 widgets work and can be modified.

I tested switching the clock to 1x2 which worked without any drawback. I still can configure it and can switch back to 1x1.
Any errors in the log?

Iā€™m not @John but I have the same problem.

Could not find resource file "/apps/dashboard/ā€¦"

I have all 3rd party apps in /apps2/ā€¦. :wink:

@anon99252149
which resource file?
BTW: How can you configure a different app folder?

Yes from Github. Extract from Master.zip and renamed the folder to Dashboard.

All style.css and script.js files of all four widgets.

/apps isnā€™t writable and /apps2 is writable. So I donā€™t lose any 3rd party app during an update.

@Holger_Dehnhardt @John use the owncloud app store for now. Although weā€™re actually pretty far for the first release itā€™s not ready yet. Hereā€™s the progress in case youā€™re interested https://github.com/nextcloud/appstore/milestone/2

Apart from that I think Nextcloud integration is still missing, AFAIK devs will start to work on that at the end of this month

Strange! Ist there any reason in the message or in the logs?
Can you try to set the following config variable (in config/config.php):
ā€˜appcodecheckerā€™ => false
What nextcloud version are you using?

Getting a string of these errors in the log (one for each widget):

Could not find resource file "/apps/dashboard/widgets/iframe/style.css"
Undefined offset: 0 at /var/www/html/nextcloud/lib/private/template/resourcelocator.php#119

Did the Git Clone thing to get the app and using NC 9.0.52