Doesn't work in Nextcloud Snap #2

Closed
opened 2019-07-30 17:48:05 +00:00 by Ghost · 2 comments

Trying to use OCCWeb with a Nextcloud in the Snap package (https://github.com/nextcloud/nextcloud-snap). I only get a white screen of death.

Here are some lines from the log that seem to be related.

{"reqId":"8BppAuoOxp5gxuIF7aWQ","level":3,"time":"2019-07-30T17:42:09+00:00","remoteAddr":"192.168.1.108","user":"dlandau","app":"PHP","method":"GET","url":"\/index.php\/apps\/occweb\/","message":"require_once(\/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/..\/..\/..\/..\/core\/register_command.php): failed to open stream: No such file or directory at \/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/OCCApplication.php#112","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"8BppAuoOxp5gxuIF7aWQ","level":3,"time":"2019-07-30T17:42:09+00:00","remoteAddr":"192.168.1.108","user":"dlandau","app":"PHP","method":"GET","url":"\/index.php\/apps\/occweb\/","message":"require_once(): Failed opening required '\/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/..\/..\/..\/..\/core\/register_command.php' (include_path='\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/archive_tar:\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/console_getopt:\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/pear-core-minimal\/src:\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/pear_exception:\/snap\/nextcloud\/current\/htdocs\/apps:\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps') at \/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/OCCApplication.php#112","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}

I have another Nextcloud on another server just installed on the system and there OCCWeb does work.

Trying to use OCCWeb with a Nextcloud in the Snap package (https://github.com/nextcloud/nextcloud-snap). I only get a white screen of death. Here are some lines from the log that seem to be related. ``` {"reqId":"8BppAuoOxp5gxuIF7aWQ","level":3,"time":"2019-07-30T17:42:09+00:00","remoteAddr":"192.168.1.108","user":"dlandau","app":"PHP","method":"GET","url":"\/index.php\/apps\/occweb\/","message":"require_once(\/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/..\/..\/..\/..\/core\/register_command.php): failed to open stream: No such file or directory at \/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/OCCApplication.php#112","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"} {"reqId":"8BppAuoOxp5gxuIF7aWQ","level":3,"time":"2019-07-30T17:42:09+00:00","remoteAddr":"192.168.1.108","user":"dlandau","app":"PHP","method":"GET","url":"\/index.php\/apps\/occweb\/","message":"require_once(): Failed opening required '\/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/..\/..\/..\/..\/core\/register_command.php' (include_path='\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/archive_tar:\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/console_getopt:\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/pear-core-minimal\/src:\/snap\/nextcloud\/14834\/htdocs\/3rdparty\/pear\/pear_exception:\/snap\/nextcloud\/current\/htdocs\/apps:\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps') at \/var\/snap\/nextcloud\/14834\/nextcloud\/extra-apps\/occweb\/lib\/Controller\/OCCApplication.php#112","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"} ``` I have another Nextcloud on another server just installed on the system and there OCCWeb does work.
Owner

It is a known issue: the fix has been commited here but I have some big troubles with the instable nextcloud's appstore to publish the new version...

It is a known issue: the fix has been commited [here](https://git.adphi.net/Adphi/OCCWeb/commit/1d7ad2331b21d202620e09fe56b51aa6c851d8db) but I have some big troubles with the instable [nextcloud's appstore](https://apps.nextcloud.com/) to publish the new version...
Author

Ok. I applied that fix manually inside /var/snap and did a snap restart nextcloud.php-fpm and it now works.

Thank you!

Ok. I applied that fix manually inside `/var/snap` and did a `snap restart nextcloud.php-fpm` and it now works. Thank you!
Ghost closed this issue 2019-07-30 18:51:58 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: adphi/occweb#2
No description provided.