-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NC28 release #10
Comments
ping |
+1 |
Such comments do not add any value or information to the ticket/request. Please read more about it here: |
Sad to say, but I think this project is dead. |
Replacing occweb/lib/Controller/OccController.php Line 35 in 1e3e6a6
OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class), seems to do the trick. |
Can you please explain where we need to change this line? |
Have a closer look at my post, please. It says you need to change line 35 in /nextcloud/apps/occweb/lib/Controller/OccController.php |
Thank you. I was able to find the folder, but in the Nextcloud docker instance it was located at a somewhat different path. |
Thanks for this, it worked brilliant for me. I'm running the Nextcloud AIO docker setup so the file was located in /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/occweb/lib/... plus I needed to tell Nextcloud to manually update the app ( It also appears this is now significantly quicker than previously AND it is much faster than running the docker execution command. Great job!! |
thx reteP-riS your sollution works for me to as designed |
@reteP-riS do you think that a solution similar to the one you gave us can also fix the Extract app's incompatibility with Nextcloud 28? |
gorgeous!! |
Thanks, works great |
submitted this as a pull request #11 now |
Hi @smakdab240 , Can I trouble you to please share the full terminal command you ran to nano the OccController.php file? I'm new to Nextcloud AIO, and I'm not sure how to properly run the command, now that I don't have direct access to the Nextcloud AIO container files. I tried to run this command: but I got a message saying the directory doesn't exist: |
Hey @mjeshurun, I think you're calling the wrong path. The 'sudo docker run' command is used to create and launch the container. What you want to do is edit a file within the container. There are two options for this: Access the file via docker or access via the host. My recommendation is via the host as it only uses stock linux commands...no docker required. To edit the file try: If this fails again, I would recommend checking the path to your docker volume. This can be achieved by typing If the 'occweb' folder doesn't exist in that path, make sure you've already installed the application. This can be done either via the UI or from the OCC command. If using the OCC, try this command: Once you're inside the file, change line "OC::$server->getEventDispatcher()," to "OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class)," After you've managed to save the change, run the following to update the application with your changes: Remember, you can always access the contents of the Nextcloud AIO container from the host by looking in the docker volumes path (for me this is '/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/'). If you want to run a command from within your container, then you'll need to run the docker command If you're still having issues, let me know where you get stuck and we'll work through the commands to check what you need. TD;DR: It appears your command is wrong. If calling internal to the container, the internal path is '/var/www/html' but I would recommend accessing it external to the container. |
Thank you so much!! @smakdab240 |
Please provide a NC28 release of occweb
The text was updated successfully, but these errors were encountered: