ownCloud stuck in upgrade?
October 24, 2014
That's what I saw today after trying to update Notes:
Not cool, that didn't seem to work too well. This can happen with third-party apps. But what to do? Just like with upgrades, you can call in the help of the occ command line tool which comes with ownCloud. Ideally, run it as user of your apache, something like this:
sudo -u wwwrun ./occ
It will give you an overview of what occ can do for you, looking something like this:
ownCloud version 7.0.2
[options] command [arguments]
--help -h Display this help message.
--quiet -q Do not output any message.
--verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version -V Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
--no-interaction -n Do not ask any interactive question.
And a lot more.
From there, you can start an upgrade with:
sudo -u wwwrun ./occ upgrade
which is nice when the ownCloud upgrade process doesn't work. This can happen because php has a time-out set and if the amount of work takes longer than that timeout - it won't finish. Which can happen for example on very big installations, or on very light hardware (raspberry pi!).
But that wasn't my problem - things just got stuck in maintenance mode. And that is one of the options in the list: turn maintenance mode on and off! So I just proceeded (on advice of Arthur here in the office) to turn that off:
sudo -u wwwrun ./occ maintenance:mode --off
Lo and behold, it solved the problem for me.
If it doesn't, there is the
maintenance:repairoption which might fix the problem for you!
Tip: log rotationIn other news, I discovered that my
owncloud.logfile (to be found in your
datafolder) was 5.9 gigabytes big. Yeah, 6318901632 bytes. ownCloud can keep that file in check, but you have to enable that by adding the following to your config.php:
'log_rotate_size' => '100 MiB'
Of course, other values work, too. You can find this and more in
config.sample.php, be sure to go over that file to see what you can and perhaps should configure. I personally would welcome any effort to give that file a user interface, or make it easier to reach - even with a text editor built into the admin UI... Although perhaps a more subtle approach of picking what should be visible or not would be better. In any case - anybody up for that?
ownCloud development in the second half of September
October 24, 2014
This is the bi-weekly ownCloud community update for the second half of September. We have brought together activity from development mailing lists, blogs, coding work and everything else community members share with us into an overview for your reading pleasure! Tips are very much welcome. Ping Jos with your input.
Biggest items in the last two weeks of September was the announcement of an alpha of ownCloud Mail 0.1. Aside from the Mail app, there has been activity all over in ownCloud, from small UI fixes to major performance work
You can read a report on the first two weeks of September here.
As always, there was a lot of work in core and various applications like Mail and News.
Another area of improvement was the user interface. Small user interface issues were taken care off, like making the label next to a radio button in the encryption settings also click-able, showing spinners for more actions showing the system is working, making sure app navigation buttons don’t overlap, transparent images as avatars now work even when you use a gif and crop them and ‘nstamm’ got his first patch merged, fixing a design issue when drag’n'dropping big files on a folder in the web UI. danbartram also had his first patch in when fixing a confusing description of the log_rotate_size configuration value. Many of these small improvements add up to a large difference in user experience!
This is also true for documentation work. For example the ownCloud server upgrade instructions received an overhaul but there is lots more work done in the documentation repository. Get on it if you want to help make the ownCloud documentation better!
Pull Requests Merged in Core and apps
- You can now enable and disable previews for different mimetypes
- You can now set a custom ‘skeleton directory’ with example or standard files
- The Activity app now show when a file or folder is restored. Frank also noted that “Sometime the next few month we should introduce a public interface for hooks so that we don’t have to connect to hooks of other apps”. If you’re interested in taking this on – see how to get involved!
- The emails sent by the Activity app now contain relative date and time
- The Deleted Files folder and shares now show their original path information on mouse-over
- And a new ownCloud 7 compatible pong game was merged
- Work has started implementing a common ‘guest screen’ for the various apps that can share data publicly with the creation of a guest layout for different styles
Then there is reliability, performance and security work:
- Several complicated sharing corner cases were dealt with – for example making sure files shared multiple times with an user don’t show up multiple times
- The encryption system creates backups from all keys when the admin uses the password recovery function
- A complicated set of circumstances could lead to a failure of file download with encryption enabled. The fix proved equally hard to device
- A series of improvements referenced in this pull request made it harder for an adversary to bypass network restrictions, making ownCloud safer to use
- The updater will now warn you when updating to a new version is unsupported (like going from 5 to 7)
- A big improvement to the upgrade tool was backported from master to ownCloud 7, making the upgrade process much more reliable
- The post-install WebDAV check was removed in favor of a warning in the admin screen
- In other WebDAV work, it now gives a 403 error instead of falsely claiming a file has been deleted
- file-not-found pages will now be easier to understand as they give more information about what wasn’t found
- The admin page was made a lot faster thanks to the use of a new selection widget, which also made its way to a few other pages
- More performance work was done by voxsim and others on the LDAP backend, turning into an epic journey which ended only days ago and fixed a host of problems!
- A test was created named w͢͢͝h͡o͢͡ ̸͢k̵͟n̴͘ǫw̸̛s͘ ̀́w͘͢ḩ̵a҉̡͢t ̧̕h́o̵r͏̵rors̡ ̶͡͠lį̶e͟͟ ̶͝in͢ ͏t̕h̷̡͟e ͟͟d̛a͜r̕͡k̢̨ ͡h̴e͏a̷̢̡rt́͏ ̴̷͠ò̵̶f̸ u̧͘ní̛͜c͢͏o̷͏d̸͢e̡͝
- The contacts app got a great new ui for importing contacts
- AWS sdk was updated to 2.6.115
- For app developers, the core gained a Android style undo delete, already used in the News app
In client news:
- In the Android libraries, logging was improved
- And the Android app had some UI work done, including immediately showing the contents of an account
- WebDAV can now disclose the size of folders, shown to users in the desktop client
- Work on improving the owncloudcmd tool, part of the desktop client started with this commit and is finished by now
If you want to get involved in coding on ownCloud – check out this page!
Other development updates
On the ownCloud mailing list, ownCloud Mail 0.1 alpha was announced by Thomas and Jan:
- Today we are proud to announce ownCloud Mail 0.1 alpha!
It’s a simple IMAP client with which you can connect to your mail server. Be it on the same server (then it’s superfast) or just your ordinary webmail account. And it integrates nicely with other ownCloud apps.
You can read a little bit of history, a list of current features and the todo list in the announcement mail.
Another notable subject was FOSDEM 2015. There will be a team of ownClouders there and we’re looking for people to help out with the booth and talks!
You can join or just follow the development discussions on mailman.
Other ownCloud happenings
There was plenty of Planet ownCloud activity.
- There was a big article on the major update to the News app
- There was a blog about saving face and why privacy is important, followed up by a post about how old and invalid excuses keep being dragged into this debate.
- A tutorial for installing the ownCloud client on openSUSE was shared
- The ownCloud company organized a webinar on the difference between the community and enterprise edition, which you can watch in the webinar archive
- Raghu blogged about 5 things every designer should know
In social media, we read that pretty much all #ownCloudconf videos are available now and ownCloud Inc shared that ownCloud made it to the front page of c’t, one of the most subscribed computer magazines in Europe!
There are ownCloud events taking place! You can meet fellow ownCloud users and developers at ownCloud meetups or see us at conferences. Find a calendar of ownCloud on owncloud.org/events.
ownCloud meetups are a chance to learn more about ownCloud or even to get coding work done. If you know of other (regular or not) meetups or are interested in organizing one yourself, check out this page on how to get involved.
ownCloud was in Beijing!
October 20, 2014
I am currently in my flight back to India and recovering from a super awesome first edition of openSUSE Asia Summit, 2014 which was held in Beijing, China. This was one of the biggest opensource conferences I have attended with people from India, China, Taiwan, Japan, Netherlands, Germany and many other countries.
I was here bearing the ownCloud Community flag and I took a talk on Building for the ownCloud Project and a workshop on How to build your first ownCloud app!. Both of them went pretty well.
Major credit goes to the 50+ amazing volunteers who worked day and night to organise and Beihang University for being a great host. I also got to know several ownCloud Community guys have also been / are associated with the openSUSE Community which is really cool.
I have visited some good number of cities, both nationally and internationally but Beijing is probably one of the most different (in a very good way) cities I have been to. The culture and the food is mind blowing. I got to taste Chinese cuisine which included trying more than 10 different types of meat in 2 dinner meals. This is by far the maximum I have experimented with my stomach and it turned out to be succesful.
Before my thesis started, I spent most of my free time contributing to ownCloud but I certainly look forward to contributing to openSUSE in the coming future.
Looking forward to more awesome stuff from the opensource world!
Announcing ownCloud Community Statistics Provided by Bitergia
October 15, 2014
Shortly after the ownCloud 7 release we made statistics available showing the healthy growth of the ownCloud community. This is important for contributors, users and customers in choosing a project to work with. Numbers say something about the health and relative size of a community. We now announce the availability of regular and up-to-date community numbers on ownCloud provided by Bitergia.
Statistics help evaluate the impact of events like the ownCloud Contributor Conference we held last August. Two months later, we can see on the ownCloud dashboard that we reached a peak of 100 contributors in August and 93 in September. The previous record was 85 in March 2014 and before that, 79 in March 2012. And the number of people closing bug reports peaked with 136 over the previous peak of 105 in January of this year, showing the conference did result in a lot of activity.
The numbers also raise the question: what is it about March that the number of contributors peaked in the last two years?
Digging deeper on Bitergia
The Bitergia web interface offers more than overview graphs, showing for example activity split out over the various repositories. This teaches us the most active repositories are Core, Mirall (our desktop client) and the apps repo. But in the apps repository, activity seems to have gone down considerably over the last year.
Interpretation is important: since the beginning of 2014, we’ve worked hard to move apps into their own repositories, which makes it easier to contribute to them. Of course, these apps then take their issues with them – decreasing activity in the ‘catch-all’ apps repository but growing activity overall. We now have 60 active repositories under our github account!
Another example is found in the mailing lists. An overview can be found on this page. Digging deeper, you notice that the user- and developer mailing lists seemingly have started on January 2014. This is of course not exactly true – but the user- and developer lists were separated that date and the ‘old’ list is not part of the statistics so there is a sudden, large increase in activity.
There is more data on Bitergia, including the attraction/retention rate study. If you’re interested in statistics and the health of communities, it provides a good look at where ownCloud is standing and perhaps going. Of course, if you’re more interested in becoming part of the crew, check out our contribute page!