Giter Site home page Giter Site logo

Comments (3)

jquintozamora avatar jquintozamora commented on August 18, 2024

I had similar problem. In my case, it was because the execution model was configured as Scheduled job instead Continous.
I changed this line:

< JobType handler="SiteCollectionProvisioningJobHandler" executionModel="Continous" type="OfficeDevPnP.PartnerPack.Infrastructure.Jobs.SiteCollectionProvisioningJob" / >

In App.config file for OfficeDevPnP.PartnerPack.ScheduledJob and OfficeDevPnP.PartnerPack.ContinousJob projects and in web.config for OfficeDevPnP.PartnerPack.SiteProvisioning project.

Republish 3 projects and create new Site Collection again. It should be working in continous mode then.

Note: If you prefer to leave Scheduled, then you need to run the Web Job manually (because OOTB it is configured to run on demand). You can do from Azure - Web Apps - Web Jobs screen.

Regards!

from pnp-partner-pack.

PaoloPia avatar PaoloPia commented on August 18, 2024

Hi @ajhstn,
Thanks for using the PnP Partner Pack and thanks @jquintozamora for sharing your feedback. I think that your issue is exactly what Jose suggest. Thus, I will close the issue. Thanks.

from pnp-partner-pack.

adrwh avatar adrwh commented on August 18, 2024

I updated the 2 App.Config files in ScheduledJob and ContinousJob web jobs. I published the two webjobs.

It still stated that my ScheduledJob was on demand, so i manually ran it.
image

Checking the webjob logs it was successful.
[09/02/2016 06:44:21 > ea8bfb: SYS INFO] Status changed to Initializing [09/02/2016 06:44:21 > ea8bfb: SYS INFO] Run script 'OfficeDevPnP.PartnerPack.ScheduledJob.exe' with script host - 'WindowsScriptHost' [09/02/2016 06:44:21 > ea8bfb: SYS INFO] Status changed to Running [09/02/2016 06:44:21 > ea8bfb: INFO] Starting job [09/02/2016 06:44:23 > ea8bfb: INFO] Processing jobs in Site: PnP Partner Pack - Infrastructural Site [09/02/2016 06:44:27 > ea8bfb: INFO] Processing job: f7502f60-acb8-4af7-9397-3e8c800ab191 - Owner: [email protected] - Title: Provisioning of Site Collection "/sites/sc1" with Template "https://domain.sharepoint.com/sites/PnP-Partner-Pack-Infrastructure/PnPProvisioningTemplates/PnP-Empty-Site.xml" by [email protected] [09/02/2016 06:44:27 > ea8bfb: INFO] Processing job: 8bebb824-21c7-42b1-8a1c-49e506a1faaf - Owner: [email protected] - Title: Provisioning of Site Collection "/sites/sc2" with Template "https://domain.sharepoint.com/sites/PnP-Partner-Pack-Infrastructure/PnPProvisioningTemplates/PnP-Empty-Site.xml" by [email protected] [09/02/2016 06:44:27 > ea8bfb: INFO] Processing job: 996f83c4-32aa-41a2-b8e4-4dba882e2c39 - Owner: [email protected] - Title: Provisioning of Site Collection "/sites/hd3" with Template "https://domain.sharepoint.com/sites/PnP-Partner-Pack-Infrastructure/PnPProvisioningTemplates/PnP-Empty-Site.xml" by [email protected] [09/02/2016 06:44:27 > ea8bfb: INFO] Ending job [09/02/2016 06:44:27 > ea8bfb: SYS INFO] Status changed to Success

As you can see i have 3 site collections, and the job appeared to run correctly.

However i still get a "Pending" status in the pnp site.
image

Any other clues?

from pnp-partner-pack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.