i have copied the zip file via an ftp client to my linux machine, unzipped the file but now how do i install it, do i just copy “guests-master” to /var/www/html/nextcloud/guests-master ?
Name this app folder to “guests” and place it under /var/www/html/nextcloud/apps
Then login to your nextcloud server as admin, and go to the “app” section. You should see the app “Guests” under “your apps” and be able to enable it there - as long as your server version is supported by this app.
Afaik everyone is busy with other customer related things ATM so it will take a few more weeks to months until it is tested and released. You can of course always just start to work on it on your own to get it done more quickly.
The app only appears in your list, because you copied it into the apps folder and it is very likely grayed out because some dependencies are not fulfilled.
Yeah sure, send the logs. Don’t know if I can help there, because I’m no app developer, but who knows, maybe we can sort it out together or someone else has an idea.
If you (or better your company) need(s) this app asap however a support contract could help you get this app released quicker. Just to mention it.
Error PHP Class OCA\Guests\Settings\Admin contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCP\Settings\ISettings::getForm, OCP\Settings\ISettings::getSection) at /var/www/html/nextcloud/apps/guests/settings/admin.php#57
Preformatted text /**
* The number used to order the section in the UI.
*
* @since 10.0
* @return int between 0 and 100, with 100 being the highest priority
*/
public function getPriority() {
return 0;
}}Preformatted text
to this -
Preformatted text/**
* The number used to order the section in the UI.
*
* @since 10.0
* @return int between 0 and 100, with 100 being the highest priority
*/
public function getPriority() {
return ‘0’;
}
}Preformatted text
I understand what this means somehow and think I know that it can be solved by changing
class Admin implements \OCP\Settings\ISettings
{
into
abstract class Admin implements \OCP\Settings\ISettings
{
But I have absolutely no clue if this is a good idea
If this idea made it worse, than you could instead add the “missing” methods:
class Admin implements \OCP\Settings\ISettings
{
/**
* The panel controller method that returns a template to the UI
*
* @since 10.0
* @return \OCP\AppFramework\Http\TemplateResponse | \OCP\Template
*/
public function getPanel() {
return new Template('guests', 'settings/admin');
}
/**
* A string to identify the section in the UI / HTML and URL
*
* @since 10.0
* @return string
*/
public function getSectionID() {
return 'guests';
}
/**
* The number used to order the section in the UI.
*
* @since 10.0
* @return int between 0 and 100, with 100 being the highest priority
*/
public function getPriority() {
return 0;
}
public function getForm();
public function getSection();
}
Oh dear … I fear we are breaking the app here.
A PHP developer is definitely the better choice to ask for help here.
i have cancelled all my changes and added “abstract” and when i click enable it works
but when i create a new folder as admin and try to share it via guest to an email by just typing in the username in the text box like “robert” i get the drop down “add robert (guest) (email)” i get an error “failed to send share by mail”
then im thinking maybe in the text box i can put my whole email ie "robertkwild@gmail.com" i then get normal error “no users found for robertkwild@gmail.com” which is the case as i havnt added that user in settings users
on owncloud (as i have put owncloud on the server aswell) when i normally add a guest user to a shared folder all i have to do is type in the username in the text box, then it says add robert (guest) (email)" then another box comes up and it asks to enter the guests email address, once i press on share i then get an email and im asked to create a password and then i have access to that share ONLY
error i get -
Error no app in context Failed to send share by mail: Address in mailbox given [robert@] does not comply with RFC 2822, 3.6.2. 2017-10-28T00:47:28+0100
Error PHP Undefined offset: 1 at /var/www/html/nextcloud/lib/private/Mail/Message.php#64