I’m trying to install an app not on the marketplace (I know…living risky here!). The maintainer of this app (Workin2gether) has suggested I can get this app installed on my Nextcloud by doing the following:
Use the OCC CLI in your nextcloud root directory (search for the occ file) and execute this (web-user depends on your webserver. In my case apache2):
sudo -u www-data /usr/bin/php occ app:enable workin2gether
What webserver does nethserver use for Nextcloud?
What will issuing this instruction do to my nethserver/nextcloud? Any concerns?
Will by issuing this instruction/using this app, will I break updating Nextcloud for future updates?
[quote=“greavette, post:1, topic:6209”]
What webserver does nethserver use for Nextcloud?[/quote]
apache
[quote=“greavette, post:1, topic:6209”]
What will issuing this instruction do to my nethserver/nextcloud?[/quote]
You have to replace www-data with apache.
If the app is present on your system, it will enable it from the command line.
Some experimental apps can also be enabled from Nextcloud interface (IIRC cog wheel at bottom-left).
When updating Nextcloud the apps will be disabled and you will have to enable them again.
When approaching NethServer in general it uses the RedHat/CentOS standard which has a number of small but significant differences from the popular Debian standard distros like Ubuntu, Linux Mint. So if you are coming from a Debian/Ubuntu background, review the RedHat standard. apt-get = yum. www-data=apache. conf files for updating will have small differences as well. A few links on the differences:
Funny thing about my experimental app. I’ve git cloned it to my apps directory. And using the occ command to check the app - Workin2gether I see that the app is not seen by occ. I can see the directory in my Apps folder but occ can’t see it. Any ideas?
That’s right @dnutan. Exactly what I saw. So I reached out to the maintener of the app and he’s suggesting I use the occ command to add it. But it would seem I need to update the info.xml version info.
Problem is though the Nextcloud version listed in info.xml looks correct:
nextcloud min-version=“9” max-version=“11.9”
So I did a check of what version I have in Nextcloud:
Hi @dnutan, yep that’s me! Like I said, I opened an issue with the maintainer of this app to ask why the error. And thanks to you and your excellent answer I’ve confirmed that grabbing the version from github was the answer!